#C871ED#C871ED

#C871ED is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.4% C 0.192 H 314.9°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#C871ED
RGBrgb(200, 113, 237)
HSLhsl(282, 78%, 69%)
HSVhsv(282, 52%, 93%)
CMYKcmyk(15.6%, 52.3%, 0%, 7.1%)
CIE-LABlab(61.83, 54.24, -48.92)
CIE-LCHlch(61.83, 73.04, 317.95°)
OKLaboklab(69.37% 0.1358 -0.1364)
OKLCHoklch(69.37% 0.192 314.9)
XYZxyz(45.0082, 30.2053, 83.5636)
Luminance0.3020 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C871ED #96ED71
analogous
#8A71ED #C871ED #ED71D4
triadic
#C871ED #EDC871 #71EDC8
tetradic
#C871ED #ED8A71 #96ED71 #71D4ED
square
#C871ED #ED8A71 #96ED71 #71D4ED
split-complementary
#C871ED #D4ED71 #71ED8A
monochromatic
#951ACA #B33BE6 #C871ED #DDA7F4 #F2DEFB

Accessibility & contrast

On white

2.98
#C871ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#C871ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C871ED
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C871ED#FFFFFF#000000##000000
##C871ED1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5490F1
Deuteranopia (green-blind)
#7098EA
Tritanopia (blue-blind)
#C585A5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c871ed;
/* rgb */ color: rgb(200, 113, 237);
/* oklch */ color: oklch(69.4% 0.192 314.9);
Tailwind
colors: {
  custom: {
    50: '#db9df3',
    500: '#c871ed',
    950: '#000000',
  },
}
SCSS
$custom: #c871ed;
$custom-light: #db9df3;
$custom-dark: #000000;
JSON
{
  "hex": "#c871ed",
  "rgb": {
    "r": 200,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 282.097,
    "s": 77.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69368,
    "c": 0.19248,
    "h": 314.9
  },
  "luminance": 0.30204
}

Semantic roles & 50–950 ramp

primary
#C871ED
secondary
#D5EFCA
accent
#DA0C49
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C871ED

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

Preview Lab → · Contrast checker → · Palette generator →

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