#C871FB#C871FB

#C871FB is a light, highly saturated violet. Relative luminance 0.311; OKLCH L 70.1% C 0.207 H 311.3°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#C871FB
RGBrgb(200, 113, 251)
HSLhsl(278, 95%, 71%)
HSVhsv(278, 55%, 98%)
CMYKcmyk(20.3%, 55%, 0%, 1.6%)
CIE-LABlab(62.55, 57.17, -55.51)
CIE-LCHlch(62.55, 79.68, 315.84°)
OKLaboklab(70.14% 0.1367 -0.1556)
OKLCHoklch(70.14% 0.207 311.3)
XYZxyz(47.1340, 31.0557, 94.7595)
Luminance0.3105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C871FB #A4FB71
analogous
#8371FB #C871FB #FB71E9
triadic
#C871FB #FBC871 #71FBC8
tetradic
#C871FB #FB8371 #A4FB71 #71E9FB
square
#C871FB #FB8371 #A4FB71 #71E9FB
split-complementary
#C871FB #E9FB71 #71FB83
monochromatic
#9707EB #B135F9 #C871FB #DFADFD #F3E1FE

Accessibility & contrast

On white

2.91
#C871FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#C871FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C871FB
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C871FB#FFFFFF#000000##000000
##C871FB1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4893FF
Deuteranopia (green-blind)
#6799F8
Tritanopia (blue-blind)
#C289AC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c871fb;
/* rgb */ color: rgb(200, 113, 251);
/* oklch */ color: oklch(70.1% 0.207 311.3);
Tailwind
colors: {
  custom: {
    50: '#dc9dfd',
    500: '#c871fb',
    950: '#000000',
  },
}
SCSS
$custom: #c871fb;
$custom-light: #dc9dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#c871fb",
  "rgb": {
    "r": 200,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 277.826,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70135,
    "c": 0.20716,
    "h": 311.3
  },
  "luminance": 0.31055
}

Semantic roles & 50–950 ramp

primary
#C871FB
secondary
#DFF6D2
accent
#E60055
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #C871FB

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

Preview Lab → · Contrast checker → · Palette generator →

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