#C871DF#C871DF

#C871DF is a light, vivid purple. Relative luminance 0.294; OKLCH L 68.6% C 0.178 H 318.9°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#C871DF
RGBrgb(200, 113, 223)
HSLhsl(287, 63%, 66%)
HSVhsv(287, 49%, 87%)
CMYKcmyk(10.3%, 49.3%, 0%, 12.5%)
CIE-LABlab(61.15, 51.42, -42.20)
CIE-LCHlch(61.15, 66.52, 320.63°)
OKLaboklab(68.64% 0.1343 -0.1169)
OKLCHoklch(68.64% 0.178 318.9)
XYZxyz(43.0421, 29.4189, 73.2089)
Luminance0.2942 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C871DF #88DF71
analogous
#9171DF #C871DF #DF71BF
triadic
#C871DF #DFC871 #71DFC8
tetradic
#C871DF #DF9171 #88DF71 #71BFDF
square
#C871DF #DF9171 #88DF71 #71BFDF
split-complementary
#C871DF #BFDF71 #71DF91
monochromatic
#9227AE #B53FD4 #C871DF #DBA3EA #EFD5F6

Accessibility & contrast

On white

3.05
#C871DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#C871DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C871DF
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C871DF#FFFFFF#000000##000000
##C871DF1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8EE3
Deuteranopia (green-blind)
#7797DC
Tritanopia (blue-blind)
#C8809E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c871df;
/* rgb */ color: rgb(200, 113, 223);
/* oklch */ color: oklch(68.6% 0.178 318.9);
Tailwind
colors: {
  custom: {
    50: '#db9de9',
    500: '#c871df',
    950: '#000000',
  },
}
SCSS
$custom: #c871df;
$custom-light: #db9de9;
$custom-dark: #000000;
JSON
{
  "hex": "#c871df",
  "rgb": {
    "r": 200,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 287.455,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68643,
    "c": 0.17804,
    "h": 318.9
  },
  "luminance": 0.29417
}

Semantic roles & 50–950 ramp

primary
#C871DF
secondary
#CBE8C4
accent
#CB1B3F
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C871DF

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

Preview Lab → · Contrast checker → · Palette generator →

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