#8872E9#8872E9

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

Color values

HEX#8872E9
RGBrgb(136, 114, 233)
HSLhsl(251, 73%, 68%)
HSVhsv(251, 51%, 91%)
CMYKcmyk(41.6%, 51.1%, 0%, 8.6%)
CIE-LABlab(55.23, 36.69, -57.60)
CIE-LCHlch(55.23, 68.30, 302.50°)
OKLaboklab(62.9% 0.0561 -0.1635)
OKLCHoklch(62.9% 0.173 288.9)
XYZxyz(30.8745, 23.1510, 79.9168)
Luminance0.2315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8872E9 #D3E972
analogous
#7298E9 #8872E9 #C372E9
triadic
#8872E9 #E98872 #72E988
tetradic
#8872E9 #E97298 #D3E972 #72E9C3
square
#8872E9 #E97298 #D3E972 #72E9C3
split-complementary
#8872E9 #E9C372 #98E972
monochromatic
#3D1EC2 #5B3DE1 #8872E9 #B5A7F1 #E1DCFA

Accessibility & contrast

On white

3.73
#8872E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#8872E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8872E9
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8872E9#FFFFFF#000000##000000
##8872E91.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E87ED
Deuteranopia (green-blind)
#3F81E6
Tritanopia (blue-blind)
#6C8BA3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8872e9;
/* rgb */ color: rgb(136, 114, 233);
/* oklch */ color: oklch(62.9% 0.173 288.9);
Tailwind
colors: {
  custom: {
    50: '#b09bf1',
    500: '#8872e9',
    950: '#000000',
  },
}
SCSS
$custom: #8872e9;
$custom-light: #b09bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#8872e9",
  "rgb": {
    "r": 136,
    "g": 114,
    "b": 233
  },
  "hsl": {
    "h": 251.092,
    "s": 73.006,
    "l": 68.039
  },
  "oklch": {
    "l": 0.62897,
    "c": 0.17289,
    "h": 288.9
  },
  "luminance": 0.23152
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8872E9

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

Preview Lab → · Contrast checker → · Palette generator →

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