#C871F1#C871F1

#C871F1 is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.6% C 0.197 H 313.8°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#C871F1
RGBrgb(200, 113, 241)
HSLhsl(281, 82%, 69%)
HSVhsv(281, 53%, 95%)
CMYKcmyk(17%, 53.1%, 0%, 5.5%)
CIE-LABlab(62.03, 55.07, -50.82)
CIE-LCHlch(62.03, 74.93, 317.30°)
OKLaboklab(69.58% 0.1361 -0.1419)
OKLCHoklch(69.58% 0.197 313.8)
XYZxyz(45.5991, 30.4417, 86.6758)
Luminance0.3044 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C871F1 #9AF171
analogous
#8871F1 #C871F1 #F171DA
triadic
#C871F1 #F1C871 #71F1C8
tetradic
#C871F1 #F18871 #9AF171 #71DAF1
square
#C871F1 #F18871 #9AF171 #71DAF1
split-complementary
#C871F1 #DAF171 #71F188
monochromatic
#9615D3 #B239EC #C871F1 #DEA9F6 #F3E0FC

Accessibility & contrast

On white

2.96
#C871F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#C871F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C871F1
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C871F1#FFFFFF#000000##000000
##C871F11.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5191F5
Deuteranopia (green-blind)
#6D98EE
Tritanopia (blue-blind)
#C586A7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c871f1;
/* rgb */ color: rgb(200, 113, 241);
/* oklch */ color: oklch(69.6% 0.197 313.8);
Tailwind
colors: {
  custom: {
    50: '#db9df6',
    500: '#c871f1',
    950: '#000000',
  },
}
SCSS
$custom: #c871f1;
$custom-light: #db9df6;
$custom-dark: #000000;
JSON
{
  "hex": "#c871f1",
  "rgb": {
    "r": 200,
    "g": 113,
    "b": 241
  },
  "hsl": {
    "h": 280.781,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69583,
    "c": 0.19665,
    "h": 313.8
  },
  "luminance": 0.3044
}

Semantic roles & 50–950 ramp

primary
#C871F1
secondary
#D8F1CC
accent
#DE074C
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85

Preview Lab

Preview with #C871F1

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

Preview Lab → · Contrast checker → · Palette generator →

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