#C871F4#C871F4

#C871F4 is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.7% C 0.200 H 313.0°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#C871F4
RGBrgb(200, 113, 244)
HSLhsl(280, 86%, 70%)
HSVhsv(280, 54%, 96%)
CMYKcmyk(18%, 53.7%, 0%, 4.3%)
CIE-LABlab(62.19, 55.69, -52.23)
CIE-LCHlch(62.19, 76.35, 316.84°)
OKLaboklab(69.75% 0.1363 -0.1461)
OKLCHoklch(69.75% 0.2 313)
XYZxyz(46.0509, 30.6224, 89.0553)
Luminance0.3062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C871F4 #9DF471
analogous
#8671F4 #C871F4 #F471DF
triadic
#C871F4 #F4C871 #71F4C8
tetradic
#C871F4 #F48671 #9DF471 #71DFF4
square
#C871F4 #F48671 #9DF471 #71DFF4
split-complementary
#C871F4 #DFF471 #71F486
monochromatic
#9611DA #B238F0 #C871F4 #DEAAF8 #F4E3FD

Accessibility & contrast

On white

2.95
#C871F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#C871F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C871F4
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C871F4#FFFFFF#000000##000000
##C871F41.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E92F8
Deuteranopia (green-blind)
#6B98F1
Tritanopia (blue-blind)
#C487A8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c871f4;
/* rgb */ color: rgb(200, 113, 244);
/* oklch */ color: oklch(69.7% 0.200 313.0);
Tailwind
colors: {
  custom: {
    50: '#db9df8',
    500: '#c871f4',
    950: '#000000',
  },
}
SCSS
$custom: #c871f4;
$custom-light: #db9df8;
$custom-dark: #000000;
JSON
{
  "hex": "#c871f4",
  "rgb": {
    "r": 200,
    "g": 113,
    "b": 244
  },
  "hsl": {
    "h": 279.847,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.69747,
    "c": 0.19979,
    "h": 313
  },
  "luminance": 0.30621
}

Semantic roles & 50–950 ramp

primary
#C871F4
secondary
#DAF3CE
accent
#E2034E
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C871F4

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

Preview Lab → · Contrast checker → · Palette generator →

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