#8871EF#8871EF

#8871EF is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.1% C 0.182 H 288.4°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8871EF
RGBrgb(136, 113, 239)
HSLhsl(251, 80%, 69%)
HSVhsv(251, 53%, 94%)
CMYKcmyk(43.1%, 52.7%, 0%, 6.3%)
CIE-LABlab(55.35, 38.94, -60.75)
CIE-LCHlch(55.35, 72.16, 302.66°)
OKLaboklab(63.11% 0.0576 -0.1728)
OKLCHoklch(63.11% 0.182 288.4)
XYZxyz(31.6341, 23.2753, 84.4704)
Luminance0.2328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8871EF #D8EF71
analogous
#7199EF #8871EF #C771EF
triadic
#8871EF #EF8871 #71EF88
tetradic
#8871EF #EF7199 #D8EF71 #71EFC7
square
#8871EF #EF7199 #D8EF71 #71EFC7
split-complementary
#8871EF #EFC771 #99EF71
monochromatic
#3917CE #5A3AE9 #8871EF #B6A8F5 #E4DFFB

Accessibility & contrast

On white

3.71
#8871EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#8871EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8871EF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8871EF#FFFFFF#000000##000000
##8871EF1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3487F3
Deuteranopia (green-blind)
#3581EC
Tritanopia (blue-blind)
#698CA5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8871ef;
/* rgb */ color: rgb(136, 113, 239);
/* oklch */ color: oklch(63.1% 0.182 288.4);
Tailwind
colors: {
  custom: {
    50: '#b09af5',
    500: '#8871ef',
    950: '#000000',
  },
}
SCSS
$custom: #8871ef;
$custom-light: #b09af5;
$custom-dark: #000000;
JSON
{
  "hex": "#8871ef",
  "rgb": {
    "r": 136,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 250.952,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.63107,
    "c": 0.18213,
    "h": 288.4
  },
  "luminance": 0.23276
}

Semantic roles & 50–950 ramp

primary
#8871EF
secondary
#EAF0CB
accent
#DC09B6
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8871EF

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

Preview Lab → · Contrast checker → · Palette generator →

#8871EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva