Skip to main content

#7E74A1 Slate Gray

The nearest named color to #7E74A1 is Slate Gray (#708090).

#7E74A1

Slate Gray

What are the RGB, HSL, OKLCH and CMYK values of #7E74A1?

HEX
#7E74A1
RGB
rgb(126, 116, 161)
HSL
hsl(253, 19%, 54%)
OKLCH
oklch(58.5% 0.069 294)
CMYK
22, 28, 0, 37

#7E74A1 has a contrast ratio of 4.29:1 against white and 4.90: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 → #7E74A1
#7E74A1
Same color
White
4.3AA18
Near-black
4.1AA18

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

  • White on #7E74A1 · 4.3:1

Tints and shades of #7E74A1

Same hue and chroma in OKLCH, lighter to darker.

  1. #F5F3FF
  2. #D8CDFF
  3. #B9AFDF
  4. #9B91BF
  5. #7E74A1
  6. #625883
  7. #483E67
  8. #2F254B
  9. #190D31

Colors that go with #7E74A1

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. No two swatches become hard to tell apart here.

Export

Copy-paste code, or download the swatches.

:root {
  --slate-gray-1: #7E74A1; /* Slate Gray */
}

Palettes, gradients and meshes with #7E74A1

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

Palettes (11)

Mesh gradients (3)