#8872EA#8872EA

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

Color values

HEX#8872EA
RGBrgb(136, 114, 234)
HSLhsl(251, 74%, 68%)
HSVhsv(251, 51%, 92%)
CMYKcmyk(41.9%, 51.3%, 0%, 8.2%)
CIE-LABlab(55.29, 36.97, -58.07)
CIE-LCHlch(55.29, 68.84, 302.49°)
OKLaboklab(62.96% 0.0562 -0.1649)
OKLCHoklch(62.96% 0.174 288.8)
XYZxyz(31.0178, 23.2083, 80.6713)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8872EA #D4EA72
analogous
#7298EA #8872EA #C472EA
triadic
#8872EA #EA8872 #72EA88
tetradic
#8872EA #EA7298 #D4EA72 #72EAC4
square
#8872EA #EA7298 #D4EA72 #72EAC4
split-complementary
#8872EA #EAC472 #98EA72
monochromatic
#3C1DC4 #5B3DE2 #8872EA #B5A7F2 #E2DDFA

Accessibility & contrast

On white

3.72
#8872EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#8872EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8872EA
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8872EA#FFFFFF#000000##000000
##8872EA1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8872ea;
/* rgb */ color: rgb(136, 114, 234);
/* oklch */ color: oklch(63.0% 0.174 288.8);
Tailwind
colors: {
  custom: {
    50: '#b09bf1',
    500: '#8872ea',
    950: '#000000',
  },
}
SCSS
$custom: #8872ea;
$custom-light: #b09bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#8872ea",
  "rgb": {
    "r": 136,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 251,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6296,
    "c": 0.1742,
    "h": 288.8
  },
  "luminance": 0.23209
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8872EA

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

Preview Lab → · Contrast checker → · Palette generator →

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