#8971EA#8971EA

#8971EA is a light, vivid violet. Relative luminance 0.231; OKLCH L 62.9% C 0.176 H 289.5°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8971EA
RGBrgb(137, 113, 234)
HSLhsl(252, 74%, 68%)
HSVhsv(252, 52%, 92%)
CMYKcmyk(41.5%, 51.7%, 0%, 8.2%)
CIE-LABlab(55.14, 37.78, -58.29)
CIE-LCHlch(55.14, 69.46, 302.95°)
OKLaboklab(62.87% 0.0586 -0.1655)
OKLCHoklch(62.87% 0.176 289.5)
XYZxyz(31.0688, 23.0681, 80.6416)
Luminance0.2307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8971EA #D2EA71
analogous
#7195EA #8971EA #C571EA
triadic
#8971EA #EA8971 #71EA89
tetradic
#8971EA #EA7195 #D2EA71 #71EAC5
square
#8971EA #EA7195 #D2EA71 #71EAC5
split-complementary
#8971EA #EAC571 #95EA71
monochromatic
#3E1DC4 #5D3CE2 #8971EA #B5A6F2 #E2DCFA

Accessibility & contrast

On white

3.74
#8971EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#8971EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8971EA
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8971EA#FFFFFF#000000##000000
##8971EA1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B86EE
Deuteranopia (green-blind)
#3D81E7
Tritanopia (blue-blind)
#6D8AA3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8971ea;
/* rgb */ color: rgb(137, 113, 234);
/* oklch */ color: oklch(62.9% 0.176 289.5);
Tailwind
colors: {
  custom: {
    50: '#b09af1',
    500: '#8971ea',
    950: '#000000',
  },
}
SCSS
$custom: #8971ea;
$custom-light: #b09af1;
$custom-dark: #000000;
JSON
{
  "hex": "#8971ea",
  "rgb": {
    "r": 137,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 251.901,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.62874,
    "c": 0.1756,
    "h": 289.5
  },
  "luminance": 0.23069
}

Semantic roles & 50–950 ramp

primary
#8971EA
secondary
#E7EEC9
accent
#D60FAF
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8971EA

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

Preview Lab → · Contrast checker → · Palette generator →

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