#8872EE#8872EE

#8872EE is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.2% C 0.179 H 288.3°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8872EE
RGBrgb(136, 114, 238)
HSLhsl(251, 78%, 69%)
HSVhsv(251, 52%, 93%)
CMYKcmyk(42.9%, 52.1%, 0%, 6.7%)
CIE-LABlab(55.52, 38.09, -59.92)
CIE-LCHlch(55.52, 71.00, 302.44°)
OKLaboklab(63.21% 0.0564 -0.1703)
OKLCHoklch(63.21% 0.179 288.3)
XYZxyz(31.5989, 23.4408, 83.7319)
Luminance0.2344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8872EE #D8EE72
analogous
#729AEE #8872EE #C672EE
triadic
#8872EE #EE8872 #72EE88
tetradic
#8872EE #EE729A #D8EE72 #72EEC6
square
#8872EE #EE729A #D8EE72 #72EEC6
split-complementary
#8872EE #EEC672 #9AEE72
monochromatic
#3919CD #5A3BE7 #8872EE #B6A9F5 #E4DFFB

Accessibility & contrast

On white

3.69
#8872EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8872EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8872EE
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8872EE#FFFFFF#000000##000000
##8872EE1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3888F2
Deuteranopia (green-blind)
#3982EB
Tritanopia (blue-blind)
#6A8CA5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8872ee;
/* rgb */ color: rgb(136, 114, 238);
/* oklch */ color: oklch(63.2% 0.179 288.3);
Tailwind
colors: {
  custom: {
    50: '#b09bf4',
    500: '#8872ee',
    950: '#000000',
  },
}
SCSS
$custom: #8872ee;
$custom-light: #b09bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8872ee",
  "rgb": {
    "r": 136,
    "g": 114,
    "b": 238
  },
  "hsl": {
    "h": 250.645,
    "s": 78.481,
    "l": 69.02
  },
  "oklch": {
    "l": 0.63213,
    "c": 0.17943,
    "h": 288.3
  },
  "luminance": 0.23442
}

Semantic roles & 50–950 ramp

primary
#8872EE
secondary
#EAF0CC
accent
#DB0BB6
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8872EE

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

Preview Lab → · Contrast checker → · Palette generator →

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