#8871CA#8871CA

#8871CA is a mid, vivid violet. Relative luminance 0.213; OKLCH L 60.9% C 0.133 H 294.0°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8871CA
RGBrgb(136, 113, 202)
HSLhsl(256, 46%, 62%)
HSVhsv(256, 44%, 79%)
CMYKcmyk(32.7%, 44.1%, 0%, 20.8%)
CIE-LABlab(53.29, 28.89, -43.20)
CIE-LCHlch(53.29, 51.97, 303.77°)
OKLaboklab(60.89% 0.054 -0.1214)
OKLCHoklch(60.89% 0.133 294)
XYZxyz(26.7164, 21.3083, 58.5710)
Luminance0.2131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8871CA #B3CA71
analogous
#7187CA #8871CA #B571CA
triadic
#8871CA #CA8871 #71CA88
tetradic
#8871CA #CA7187 #B3CA71 #71CAB5
square
#8871CA #CA7187 #B3CA71 #71CAB5
split-complementary
#8871CA #CAB571 #87CA71
monochromatic
#4B348C #6345B9 #8871CA #AD9EDB #D3CAEB

Accessibility & contrast

On white

3.99
#8871CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#8871CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8871CA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8871CA#FFFFFF#000000##000000
##8871CA1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5580CD
Deuteranopia (green-blind)
#587EC8
Tritanopia (blue-blind)
#798294
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8871ca;
/* rgb */ color: rgb(136, 113, 202);
/* oklch */ color: oklch(60.9% 0.133 294.0);
Tailwind
colors: {
  custom: {
    50: '#ad9ada',
    500: '#8871ca',
    950: '#000000',
  },
}
SCSS
$custom: #8871ca;
$custom-light: #ad9ada;
$custom-dark: #000000;
JSON
{
  "hex": "#8871ca",
  "rgb": {
    "r": 136,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 255.506,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60887,
    "c": 0.13284,
    "h": 294
  },
  "luminance": 0.21309
}

Semantic roles & 50–950 ramp

primary
#8871CA
secondary
#D3DCBB
accent
#B92D95
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8871CA

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

Preview Lab → · Contrast checker → · Palette generator →

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