#C871FD#C871FD

#C871FD is a light, highly saturated violet. Relative luminance 0.312; OKLCH L 70.2% C 0.209 H 310.8°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#C871FD
RGBrgb(200, 113, 253)
HSLhsl(277, 97%, 72%)
HSVhsv(277, 55%, 99%)
CMYKcmyk(20.9%, 55.3%, 0%, 0.8%)
CIE-LABlab(62.66, 57.59, -56.44)
CIE-LCHlch(62.66, 80.64, 315.58°)
OKLaboklab(70.25% 0.1368 -0.1584)
OKLCHoklch(70.25% 0.209 310.8)
XYZxyz(47.4509, 31.1824, 96.4286)
Luminance0.3118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C871FD #A6FD71
analogous
#8271FD #C871FD #FD71EC
triadic
#C871FD #FDC871 #71FDC8
tetradic
#C871FD #FD8271 #A6FD71 #71ECFD
square
#C871FD #FD8271 #A6FD71 #71ECFD
split-complementary
#C871FD #ECFD71 #71FD82
monochromatic
#9703F0 #B135FC #C871FD #DFADFE #F3E1FF

Accessibility & contrast

On white

2.90
#C871FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#C871FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C871FD
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C871FD#FFFFFF#000000##000000
##C871FD1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4693FF
Deuteranopia (green-blind)
#6599FA
Tritanopia (blue-blind)
#C28AAD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c871fd;
/* rgb */ color: rgb(200, 113, 253);
/* oklch */ color: oklch(70.2% 0.209 310.8);
Tailwind
colors: {
  custom: {
    50: '#dc9dff',
    500: '#c871fd',
    950: '#000000',
  },
}
SCSS
$custom: #c871fd;
$custom-light: #dc9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#c871fd",
  "rgb": {
    "r": 200,
    "g": 113,
    "b": 253
  },
  "hsl": {
    "h": 277.286,
    "s": 97.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70248,
    "c": 0.20927,
    "h": 310.8
  },
  "luminance": 0.31181
}

Semantic roles & 50–950 ramp

primary
#C871FD
secondary
#E1F7D3
accent
#E60057
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #C871FD

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

Preview Lab → · Contrast checker → · Palette generator →

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