#C871EA#C871EA

#C871EA is a light, vivid purple. Relative luminance 0.300; OKLCH L 69.2% C 0.189 H 315.7°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#C871EA
RGBrgb(200, 113, 234)
HSLhsl(283, 74%, 68%)
HSVhsv(283, 52%, 92%)
CMYKcmyk(14.5%, 51.7%, 0%, 8.2%)
CIE-LABlab(61.68, 53.63, -47.49)
CIE-LCHlch(61.68, 71.63, 318.47°)
OKLaboklab(69.21% 0.1355 -0.1323)
OKLCHoklch(69.21% 0.189 315.7)
XYZxyz(44.5735, 30.0315, 81.2746)
Luminance0.3003 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C871EA #93EA71
analogous
#8B71EA #C871EA #EA71D0
triadic
#C871EA #EAC871 #71EAC8
tetradic
#C871EA #EA8B71 #93EA71 #71D0EA
square
#C871EA #EA8B71 #93EA71 #71D0EA
split-complementary
#C871EA #D0EA71 #71EA8B
monochromatic
#951DC4 #B33CE2 #C871EA #DDA6F2 #F1DCFA

Accessibility & contrast

On white

3.00
#C871EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#C871EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C871EA
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C871EA#FFFFFF#000000##000000
##C871EA1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690EE
Deuteranopia (green-blind)
#7298E7
Tritanopia (blue-blind)
#C684A3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c871ea;
/* rgb */ color: rgb(200, 113, 234);
/* oklch */ color: oklch(69.2% 0.189 315.7);
Tailwind
colors: {
  custom: {
    50: '#db9df1',
    500: '#c871ea',
    950: '#000000',
  },
}
SCSS
$custom: #c871ea;
$custom-light: #db9df1;
$custom-dark: #000000;
JSON
{
  "hex": "#c871ea",
  "rgb": {
    "r": 200,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 283.14,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69209,
    "c": 0.18936,
    "h": 315.7
  },
  "luminance": 0.3003
}

Semantic roles & 50–950 ramp

primary
#C871EA
secondary
#D3EEC9
accent
#D60F47
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C871EA

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

Preview Lab → · Contrast checker → · Palette generator →

#C871EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva