#8871EA#8871EA

#8871EA is a light, vivid violet. Relative luminance 0.230; OKLCH L 62.8% C 0.176 H 289.1°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8871EA
RGBrgb(136, 113, 234)
HSLhsl(251, 74%, 68%)
HSVhsv(251, 52%, 92%)
CMYKcmyk(41.9%, 51.7%, 0%, 8.2%)
CIE-LABlab(55.06, 37.55, -58.44)
CIE-LCHlch(55.06, 69.46, 302.72°)
OKLaboklab(62.79% 0.0574 -0.166)
OKLCHoklch(62.79% 0.176 289.1)
XYZxyz(30.9056, 22.9840, 80.6339)
Luminance0.2298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8871EA #D3EA71
analogous
#7196EA #8871EA #C471EA
triadic
#8871EA #EA8871 #71EA88
tetradic
#8871EA #EA7196 #D3EA71 #71EAC4
square
#8871EA #EA7196 #D3EA71 #71EAC4
split-complementary
#8871EA #EAC471 #96EA71
monochromatic
#3D1DC4 #5B3CE2 #8871EA #B5A6F2 #E1DCFA

Accessibility & contrast

On white

3.75
#8871EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#8871EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8871EA
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8871EA#FFFFFF#000000##000000
##8871EA1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A86EE
Deuteranopia (green-blind)
#3C81E7
Tritanopia (blue-blind)
#6C8AA3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8871ea;
/* rgb */ color: rgb(136, 113, 234);
/* oklch */ color: oklch(62.8% 0.176 289.1);
Tailwind
colors: {
  custom: {
    50: '#b09af1',
    500: '#8871ea',
    950: '#000000',
  },
}
SCSS
$custom: #8871ea;
$custom-light: #b09af1;
$custom-dark: #000000;
JSON
{
  "hex": "#8871ea",
  "rgb": {
    "r": 136,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 251.405,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.62788,
    "c": 0.17562,
    "h": 289.1
  },
  "luminance": 0.22985
}

Semantic roles & 50–950 ramp

primary
#8871EA
secondary
#E7EEC9
accent
#D60FB0
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8871EA

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

Preview Lab → · Contrast checker → · Palette generator →

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