#8972EA#8972EA

#8972EA is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.0% C 0.174 H 289.2°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8972EA
RGBrgb(137, 114, 234)
HSLhsl(252, 74%, 68%)
HSVhsv(252, 51%, 92%)
CMYKcmyk(41.5%, 51.3%, 0%, 8.2%)
CIE-LABlab(55.37, 37.20, -57.92)
CIE-LCHlch(55.37, 68.84, 302.71°)
OKLaboklab(63.04% 0.0574 -0.1645)
OKLCHoklch(63.04% 0.174 289.2)
XYZxyz(31.1810, 23.2925, 80.6790)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8972EA #D3EA72
analogous
#7297EA #8972EA #C572EA
triadic
#8972EA #EA8972 #72EA89
tetradic
#8972EA #EA7297 #D3EA72 #72EAC5
square
#8972EA #EA7297 #D3EA72 #72EAC5
split-complementary
#8972EA #EAC572 #97EA72
monochromatic
#3D1DC4 #5C3DE2 #8972EA #B6A7F2 #E2DDFA

Accessibility & contrast

On white

3.71
#8972EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#8972EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8972EA
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8972EA#FFFFFF#000000##000000
##8972EA1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D87EE
Deuteranopia (green-blind)
#3F82E7
Tritanopia (blue-blind)
#6D8BA3
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8972ea;
/* rgb */ color: rgb(137, 114, 234);
/* oklch */ color: oklch(63.0% 0.174 289.2);
Tailwind
colors: {
  custom: {
    50: '#b09bf1',
    500: '#8972ea',
    950: '#000000',
  },
}
SCSS
$custom: #8972ea;
$custom-light: #b09bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#8972ea",
  "rgb": {
    "r": 137,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 251.5,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.63045,
    "c": 0.17418,
    "h": 289.2
  },
  "luminance": 0.23294
}

Semantic roles & 50–950 ramp

primary
#8972EA
secondary
#E7EECA
accent
#D60FB0
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8972EA

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

Preview Lab → · Contrast checker → · Palette generator →

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