#C871EF#C871EF

#C871EF is a light, vivid purple. Relative luminance 0.303; OKLCH L 69.5% C 0.195 H 314.3°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#C871EF
RGBrgb(200, 113, 239)
HSLhsl(281, 80%, 69%)
HSVhsv(281, 53%, 94%)
CMYKcmyk(16.3%, 52.7%, 0%, 6.3%)
CIE-LABlab(61.93, 54.65, -49.87)
CIE-LCHlch(61.93, 73.99, 317.62°)
OKLaboklab(69.47% 0.1359 -0.1392)
OKLCHoklch(69.47% 0.195 314.3)
XYZxyz(45.3020, 30.3229, 85.1111)
Luminance0.3032 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C871EF #98EF71
analogous
#8971EF #C871EF #EF71D7
triadic
#C871EF #EFC871 #71EFC8
tetradic
#C871EF #EF8971 #98EF71 #71D7EF
square
#C871EF #EF8971 #98EF71 #71D7EF
split-complementary
#C871EF #D7EF71 #71EF89
monochromatic
#9617CE #B33AE9 #C871EF #DDA8F5 #F3DFFB

Accessibility & contrast

On white

2.97
#C871EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#C871EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C871EF
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C871EF#FFFFFF#000000##000000
##C871EF1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5291F3
Deuteranopia (green-blind)
#6F98EC
Tritanopia (blue-blind)
#C585A6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c871ef;
/* rgb */ color: rgb(200, 113, 239);
/* oklch */ color: oklch(69.5% 0.195 314.3);
Tailwind
colors: {
  custom: {
    50: '#db9df5',
    500: '#c871ef',
    950: '#000000',
  },
}
SCSS
$custom: #c871ef;
$custom-light: #db9df5;
$custom-dark: #000000;
JSON
{
  "hex": "#c871ef",
  "rgb": {
    "r": 200,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 281.429,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.69475,
    "c": 0.19456,
    "h": 314.3
  },
  "luminance": 0.30322
}

Semantic roles & 50–950 ramp

primary
#C871EF
secondary
#D7F0CB
accent
#DC094B
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85

Preview Lab

Preview with #C871EF

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

Preview Lab → · Contrast checker → · Palette generator →

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