#8972EE#8972EE

#8972EE is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.3% C 0.179 H 288.7°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8972EE
RGBrgb(137, 114, 238)
HSLhsl(251, 78%, 69%)
HSVhsv(251, 52%, 93%)
CMYKcmyk(42.4%, 52.1%, 0%, 6.7%)
CIE-LABlab(55.61, 38.31, -59.78)
CIE-LCHlch(55.61, 71.00, 302.66°)
OKLaboklab(63.3% 0.0576 -0.1699)
OKLCHoklch(63.3% 0.179 288.7)
XYZxyz(31.7621, 23.5249, 83.7396)
Luminance0.2353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8972EE #D7EE72
analogous
#7299EE #8972EE #C772EE
triadic
#8972EE #EE8972 #72EE89
tetradic
#8972EE #EE7299 #D7EE72 #72EEC7
square
#8972EE #EE7299 #D7EE72 #72EEC7
split-complementary
#8972EE #EEC772 #99EE72
monochromatic
#3A19CD #5B3BE7 #8972EE #B7A9F5 #E4DFFB

Accessibility & contrast

On white

3.68
#8972EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#8972EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8972EE
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8972EE#FFFFFF#000000##000000
##8972EE1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3888F2
Deuteranopia (green-blind)
#3A82EB
Tritanopia (blue-blind)
#6B8CA5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8972ee;
/* rgb */ color: rgb(137, 114, 238);
/* oklch */ color: oklch(63.3% 0.179 288.7);
Tailwind
colors: {
  custom: {
    50: '#b19bf4',
    500: '#8972ee',
    950: '#000000',
  },
}
SCSS
$custom: #8972ee;
$custom-light: #b19bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8972ee",
  "rgb": {
    "r": 137,
    "g": 114,
    "b": 238
  },
  "hsl": {
    "h": 251.129,
    "s": 78.481,
    "l": 69.02
  },
  "oklch": {
    "l": 0.63297,
    "c": 0.1794,
    "h": 288.7
  },
  "luminance": 0.23526
}

Semantic roles & 50–950 ramp

primary
#8972EE
secondary
#E9F0CC
accent
#DB0BB4
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8972EE

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8972EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva