Skip to main content

#9A8FC8 Cool Gray

The nearest named color to #9A8FC8 is Cool Gray (#94A3B8).

#9A8FC8

Cool Gray

What are the RGB, HSL, OKLCH and CMYK values of #9A8FC8?

HEX
#9A8FC8
RGB
rgb(154, 143, 200)
HSL
hsl(252, 34%, 67%)
OKLCH
oklch(68.1% 0.084 293)
CMYK
23, 28, 0, 22

#9A8FC8 has a contrast ratio of 2.94:1 against white and 7.14:1 against black, so black is the better background for text in this color and dark text reads best on it.

Contrast checker

Text color (rows) on background (columns), scored against WCAG 2.2. White and near-black text on this color.

WCAG contrast ratio for each text and background color combination
Text ↓ / Bg → #9A8FC8
#9A8FC8
Same color
White
2.9Fail
Near-black
5.9AA

AAA ≥ 7:1 · AA ≥ 4.5:1 body text· AA18 ≥ 3:1 large text (18pt, or 14pt bold) only

Text that works on each color

  • Near-black on #9A8FC8 · 5.9:1

Tints and shades of #9A8FC8

Same hue and chroma in OKLCH, lighter to darker.

  1. #F5F3FF
  2. #D6CEFF
  3. #B8ADE8
  4. #9A8FC8
  5. #7D72A9
  6. #62578B
  7. #483C6E
  8. #2F2352
  9. #190937

Colors that go with #9A8FC8

Six harmony rules built from this color. Open any in the Studio.

Color blindness check

About 1 in 12 men and 1 in 200 women see color differently. Simulated with the Machado (2009) model.

Typical
Deuteranopia

No green cones — the most common form. Cool Gray, #9A8FC8 and Cadet Blue, #589DAD become hard to tell apart — don't rely on color alone to separate them.

Export

Copy-paste code, or download the swatches.

:root {
  --cool-gray-1: #9A8FC8; /* Cool Gray */
}

Palettes, gradients and meshes with #9A8FC8

Items using this color or one perceptually close to it, closest first (up to 24 palettes and 12 each of gradients and meshes).

Palettes (14)

Mesh gradients (2)