#C871FF#C871FF

#C871FF is a light, highly saturated violet. Relative luminance 0.313; OKLCH L 70.4% C 0.211 H 310.4°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#C871FF
RGBrgb(200, 113, 255)
HSLhsl(277, 100%, 72%)
HSVhsv(277, 56%, 100%)
CMYKcmyk(21.6%, 55.7%, 0%, 0%)
CIE-LABlab(62.77, 58.02, -57.37)
CIE-LCHlch(62.77, 81.59, 315.32°)
OKLaboklab(70.36% 0.1369 -0.1611)
OKLCHoklch(70.36% 0.211 310.4)
XYZxyz(47.7712, 31.3105, 98.1153)
Luminance0.3131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C871FF #A8FF71
analogous
#8171FF #C871FF #FF71EF
triadic
#C871FF #FFC871 #71FFC8
tetradic
#C871FF #FF8171 #A8FF71 #71EFFF
square
#C871FF #FF8171 #A8FF71 #71EFFF
split-complementary
#C871FF #EFFF71 #71FF81
monochromatic
#9600F6 #B034FF #C871FF #E0AEFF #F3E0FF

Accessibility & contrast

On white

2.89
#C871FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#C871FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C871FF
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C871FF#FFFFFF#000000##000000
##C871FF1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4394FF
Deuteranopia (green-blind)
#6499FC
Tritanopia (blue-blind)
#C18AAE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c871ff;
/* rgb */ color: rgb(200, 113, 255);
/* oklch */ color: oklch(70.4% 0.211 310.4);
Tailwind
colors: {
  custom: {
    50: '#dc9dff',
    500: '#c871ff',
    950: '#000000',
  },
}
SCSS
$custom: #c871ff;
$custom-light: #dc9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#c871ff",
  "rgb": {
    "r": 200,
    "g": 113,
    "b": 255
  },
  "hsl": {
    "h": 276.761,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70362,
    "c": 0.21138,
    "h": 310.4
  },
  "luminance": 0.3131
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C871FF

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

Preview Lab → · Contrast checker → · Palette generator →

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