#C871DB#C871DB

#C871DB is a light, vivid purple. Relative luminance 0.292; OKLCH L 68.4% C 0.174 H 320.2°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#C871DB
RGBrgb(200, 113, 219)
HSLhsl(289, 60%, 65%)
HSVhsv(289, 48%, 86%)
CMYKcmyk(8.7%, 48.4%, 0%, 14.1%)
CIE-LABlab(60.96, 50.63, -40.25)
CIE-LCHlch(60.96, 64.68, 321.52°)
OKLaboklab(68.44% 0.1337 -0.1113)
OKLCHoklch(68.44% 0.174 320.2)
XYZxyz(42.5092, 29.2057, 70.4022)
Luminance0.2920 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C871DB #84DB71
analogous
#9371DB #C871DB #DB71B9
triadic
#C871DB #DBC871 #71DBC8
tetradic
#C871DB #DB9371 #84DB71 #71B9DB
square
#C871DB #DB9371 #84DB71 #71B9DB
split-complementary
#C871DB #B9DB71 #71DB93
monochromatic
#912AA7 #B540CF #C871DB #DBA2E7 #EED3F4

Accessibility & contrast

On white

3.07
#C871DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#C871DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C871DB
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C871DB#FFFFFF#000000##000000
##C871DB1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#608DDF
Deuteranopia (green-blind)
#7996D8
Tritanopia (blue-blind)
#C97F9C
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c871db;
/* rgb */ color: rgb(200, 113, 219);
/* oklch */ color: oklch(68.4% 0.174 320.2);
Tailwind
colors: {
  custom: {
    50: '#db9ce6',
    500: '#c871db',
    950: '#000000',
  },
}
SCSS
$custom: #c871db;
$custom-light: #db9ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#c871db",
  "rgb": {
    "r": 200,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 289.245,
    "s": 59.551,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68443,
    "c": 0.17399,
    "h": 320.2
  },
  "luminance": 0.29204
}

Semantic roles & 50–950 ramp

primary
#C871DB
secondary
#C8E6C2
accent
#C71E3D
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C871DB

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

Preview Lab → · Contrast checker → · Palette generator →

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