#8972E9#8972E9

#8972E9 is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.0% C 0.173 H 289.4°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8972E9
RGBrgb(137, 114, 233)
HSLhsl(252, 73%, 68%)
HSVhsv(252, 51%, 91%)
CMYKcmyk(41.2%, 51.1%, 0%, 8.6%)
CIE-LABlab(55.31, 36.93, -57.46)
CIE-LCHlch(55.31, 68.30, 302.73°)
OKLaboklab(62.98% 0.0573 -0.1631)
OKLCHoklch(62.98% 0.173 289.4)
XYZxyz(31.0377, 23.2352, 79.9245)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8972E9 #D2E972
analogous
#7296E9 #8972E9 #C572E9
triadic
#8972E9 #E98972 #72E989
tetradic
#8972E9 #E97296 #D2E972 #72E9C5
square
#8972E9 #E97296 #D2E972 #72E9C5
split-complementary
#8972E9 #E9C572 #96E972
monochromatic
#3E1EC2 #5D3DE1 #8972E9 #B5A7F1 #E2DCFA

Accessibility & contrast

On white

3.72
#8972E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#8972E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8972E9
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8972E9#FFFFFF#000000##000000
##8972E91.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E87ED
Deuteranopia (green-blind)
#4082E6
Tritanopia (blue-blind)
#6E8BA3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8972e9;
/* rgb */ color: rgb(137, 114, 233);
/* oklch */ color: oklch(63.0% 0.173 289.4);
Tailwind
colors: {
  custom: {
    50: '#b09bf1',
    500: '#8972e9',
    950: '#000000',
  },
}
SCSS
$custom: #8972e9;
$custom-light: #b09bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#8972e9",
  "rgb": {
    "r": 137,
    "g": 114,
    "b": 233
  },
  "hsl": {
    "h": 251.597,
    "s": 73.006,
    "l": 68.039
  },
  "oklch": {
    "l": 0.62982,
    "c": 0.17287,
    "h": 289.4
  },
  "luminance": 0.23236
}

Semantic roles & 50–950 ramp

primary
#8972E9
secondary
#E7EEC9
accent
#D510AF
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8972E9

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

Preview Lab → · Contrast checker → · Palette generator →

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