#C871FE#C871FE

#C871FE is a light, highly saturated violet. Relative luminance 0.312; OKLCH L 70.3% C 0.210 H 310.6°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#C871FE
RGBrgb(200, 113, 254)
HSLhsl(277, 99%, 72%)
HSVhsv(277, 56%, 100%)
CMYKcmyk(21.3%, 55.5%, 0%, 0.4%)
CIE-LABlab(62.72, 57.80, -56.91)
CIE-LCHlch(62.72, 81.11, 315.45°)
OKLaboklab(70.3% 0.1368 -0.1597)
OKLCHoklch(70.3% 0.21 310.6)
XYZxyz(47.6106, 31.2463, 97.2698)
Luminance0.3125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C871FE #A7FE71
analogous
#8271FE #C871FE #FE71EE
triadic
#C871FE #FEC871 #71FEC8
tetradic
#C871FE #FE8271 #A7FE71 #71EEFE
square
#C871FE #FE8271 #A7FE71 #71EEFE
split-complementary
#C871FE #EEFE71 #71FE82
monochromatic
#9702F3 #B034FE #C871FE #E0AEFE #F3E1FF

Accessibility & contrast

On white

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

On black

7.25
#C871FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C871FE
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C871FE#FFFFFF#000000##000000
##C871FE1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4594FF
Deuteranopia (green-blind)
#6499FB
Tritanopia (blue-blind)
#C18AAD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c871fe;
/* rgb */ color: rgb(200, 113, 254);
/* oklch */ color: oklch(70.3% 0.210 310.6);
Tailwind
colors: {
  custom: {
    50: '#dc9dff',
    500: '#c871fe',
    950: '#000000',
  },
}
SCSS
$custom: #c871fe;
$custom-light: #dc9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#c871fe",
  "rgb": {
    "r": 200,
    "g": 113,
    "b": 254
  },
  "hsl": {
    "h": 277.021,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70305,
    "c": 0.21032,
    "h": 310.6
  },
  "luminance": 0.31245
}

Semantic roles & 50–950 ramp

primary
#C871FE
secondary
#E1F7D4
accent
#E60058
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #C871FE

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

Preview Lab → · Contrast checker → · Palette generator →

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