#C871FA#C871FA

#C871FA is a light, highly saturated violet. Relative luminance 0.310; OKLCH L 70.1% C 0.206 H 311.5°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#C871FA
RGBrgb(200, 113, 250)
HSLhsl(278, 93%, 71%)
HSVhsv(278, 55%, 98%)
CMYKcmyk(20%, 54.8%, 0%, 2%)
CIE-LABlab(62.50, 56.95, -55.04)
CIE-LCHlch(62.50, 79.21, 315.98°)
OKLaboklab(70.08% 0.1367 -0.1543)
OKLCHoklch(70.08% 0.206 311.5)
XYZxyz(46.9768, 30.9928, 93.9315)
Luminance0.3099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C871FA #A3FA71
analogous
#8371FA #C871FA #FA71E7
triadic
#C871FA #FAC871 #71FAC8
tetradic
#C871FA #FA8371 #A3FA71 #71E7FA
square
#C871FA #FA8371 #A3FA71 #71E7FA
split-complementary
#C871FA #E7FA71 #71FA83
monochromatic
#9708E8 #B136F8 #C871FA #DFACFC #F4E1FE

Accessibility & contrast

On white

2.92
#C871FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#C871FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C871FA
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C871FA#FFFFFF#000000##000000
##C871FA1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4993FE
Deuteranopia (green-blind)
#6799F7
Tritanopia (blue-blind)
#C289AB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c871fa;
/* rgb */ color: rgb(200, 113, 250);
/* oklch */ color: oklch(70.1% 0.206 311.5);
Tailwind
colors: {
  custom: {
    50: '#dc9dfc',
    500: '#c871fa',
    950: '#000000',
  },
}
SCSS
$custom: #c871fa;
$custom-light: #dc9dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c871fa",
  "rgb": {
    "r": 200,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 278.102,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70079,
    "c": 0.2061,
    "h": 311.5
  },
  "luminance": 0.30992
}

Semantic roles & 50–950 ramp

primary
#C871FA
secondary
#DFF5D1
accent
#E60054
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #C871FA

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

Preview Lab → · Contrast checker → · Palette generator →

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