#C871EB#C871EB

#C871EB is a light, vivid purple. Relative luminance 0.301; OKLCH L 69.3% C 0.190 H 315.4°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#C871EB
RGBrgb(200, 113, 235)
HSLhsl(283, 75%, 68%)
HSVhsv(283, 52%, 92%)
CMYKcmyk(14.9%, 51.9%, 0%, 7.8%)
CIE-LABlab(61.73, 53.83, -47.97)
CIE-LCHlch(61.73, 72.10, 318.30°)
OKLaboklab(69.26% 0.1356 -0.1337)
OKLCHoklch(69.26% 0.19 315.4)
XYZxyz(44.7176, 30.0891, 82.0333)
Luminance0.3009 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C871EB #94EB71
analogous
#8B71EB #C871EB #EB71D1
triadic
#C871EB #EBC871 #71EBC8
tetradic
#C871EB #EB8B71 #94EB71 #71D1EB
square
#C871EB #EB8B71 #94EB71 #71D1EB
split-complementary
#C871EB #D1EB71 #71EB8B
monochromatic
#951CC6 #B33BE3 #C871EB #DDA7F3 #F2DCFA

Accessibility & contrast

On white

2.99
#C871EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#C871EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C871EB
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C871EB#FFFFFF#000000##000000
##C871EB1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590EF
Deuteranopia (green-blind)
#7198E8
Tritanopia (blue-blind)
#C684A4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c871eb;
/* rgb */ color: rgb(200, 113, 235);
/* oklch */ color: oklch(69.3% 0.190 315.4);
Tailwind
colors: {
  custom: {
    50: '#db9df2',
    500: '#c871eb',
    950: '#000000',
  },
}
SCSS
$custom: #c871eb;
$custom-light: #db9df2;
$custom-dark: #000000;
JSON
{
  "hex": "#c871eb",
  "rgb": {
    "r": 200,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 282.787,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69262,
    "c": 0.19039,
    "h": 315.4
  },
  "luminance": 0.30088
}

Semantic roles & 50–950 ramp

primary
#C871EB
secondary
#D4EEC9
accent
#D70E48
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C871EB

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

Preview Lab → · Contrast checker → · Palette generator →

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