#C871FC#C871FC

#C871FC is a light, highly saturated violet. Relative luminance 0.311; OKLCH L 70.2% C 0.208 H 311.1°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#C871FC
RGBrgb(200, 113, 252)
HSLhsl(278, 96%, 72%)
HSVhsv(278, 55%, 99%)
CMYKcmyk(20.6%, 55.2%, 0%, 1.2%)
CIE-LABlab(62.61, 57.38, -55.98)
CIE-LCHlch(62.61, 80.16, 315.71°)
OKLaboklab(70.19% 0.1368 -0.157)
OKLCHoklch(70.19% 0.208 311.1)
XYZxyz(47.2920, 31.1189, 95.5918)
Luminance0.3112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C871FC #A5FC71
analogous
#8371FC #C871FC #FC71EB
triadic
#C871FC #FCC871 #71FCC8
tetradic
#C871FC #FC8371 #A5FC71 #71EBFC
square
#C871FC #FC8371 #A5FC71 #71EBFC
split-complementary
#C871FC #EBFC71 #71FC83
monochromatic
#9705EE #B135FB #C871FC #DFADFD #F3E1FE

Accessibility & contrast

On white

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

On black

7.22
#C871FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C871FC
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C871FC#FFFFFF#000000##000000
##C871FC1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4793FF
Deuteranopia (green-blind)
#6699F9
Tritanopia (blue-blind)
#C289AC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c871fc;
/* rgb */ color: rgb(200, 113, 252);
/* oklch */ color: oklch(70.2% 0.208 311.1);
Tailwind
colors: {
  custom: {
    50: '#dc9dfe',
    500: '#c871fc',
    950: '#000000',
  },
}
SCSS
$custom: #c871fc;
$custom-light: #dc9dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#c871fc",
  "rgb": {
    "r": 200,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 277.554,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70191,
    "c": 0.20821,
    "h": 311.1
  },
  "luminance": 0.31118
}

Semantic roles & 50–950 ramp

primary
#C871FC
secondary
#E0F6D3
accent
#E60056
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #C871FC

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

Preview Lab → · Contrast checker → · Palette generator →

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