#8871EB#8871EB

#8871EB is a light, vivid violet. Relative luminance 0.230; OKLCH L 62.9% C 0.177 H 288.9°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8871EB
RGBrgb(136, 113, 235)
HSLhsl(251, 75%, 68%)
HSVhsv(251, 52%, 92%)
CMYKcmyk(42.1%, 51.9%, 0%, 7.8%)
CIE-LABlab(55.12, 37.83, -58.90)
CIE-LCHlch(55.12, 70.00, 302.71°)
OKLaboklab(62.85% 0.0574 -0.1673)
OKLCHoklch(62.85% 0.177 288.9)
XYZxyz(31.0497, 23.0416, 81.3926)
Luminance0.2304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8871EB #D4EB71
analogous
#7197EB #8871EB #C571EB
triadic
#8871EB #EB8871 #71EB88
tetradic
#8871EB #EB7197 #D4EB71 #71EBC5
square
#8871EB #EB7197 #D4EB71 #71EBC5
split-complementary
#8871EB #EBC571 #97EB71
monochromatic
#3C1CC6 #5B3BE3 #8871EB #B5A7F3 #E2DCFA

Accessibility & contrast

On white

3.74
#8871EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#8871EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8871EB
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8871EB#FFFFFF#000000##000000
##8871EB1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3987EF
Deuteranopia (green-blind)
#3B81E8
Tritanopia (blue-blind)
#6B8BA3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8871eb;
/* rgb */ color: rgb(136, 113, 235);
/* oklch */ color: oklch(62.9% 0.177 288.9);
Tailwind
colors: {
  custom: {
    50: '#b09af2',
    500: '#8871eb',
    950: '#000000',
  },
}
SCSS
$custom: #8871eb;
$custom-light: #b09af2;
$custom-dark: #000000;
JSON
{
  "hex": "#8871eb",
  "rgb": {
    "r": 136,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 251.311,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.62851,
    "c": 0.17692,
    "h": 288.9
  },
  "luminance": 0.23043
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8871EB

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

Preview Lab → · Contrast checker → · Palette generator →

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