#C871F0#C871F0

#C871F0 is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.5% C 0.196 H 314.1°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#C871F0
RGBrgb(200, 113, 240)
HSLhsl(281, 81%, 69%)
HSVhsv(281, 53%, 94%)
CMYKcmyk(16.7%, 52.9%, 0%, 5.9%)
CIE-LABlab(61.98, 54.86, -50.34)
CIE-LCHlch(61.98, 74.46, 317.46°)
OKLaboklab(69.53% 0.136 -0.1406)
OKLCHoklch(69.53% 0.196 314.1)
XYZxyz(45.4501, 30.3821, 85.8913)
Luminance0.3038 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C871F0 #99F071
analogous
#8971F0 #C871F0 #F071D9
triadic
#C871F0 #F0C871 #71F0C8
tetradic
#C871F0 #F08971 #99F071 #71D9F0
square
#C871F0 #F08971 #99F071 #71D9F0
split-complementary
#C871F0 #D9F071 #71F089
monochromatic
#9616D1 #B33AEA #C871F0 #DDA8F6 #F3E0FC

Accessibility & contrast

On white

2.97
#C871F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#C871F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C871F0
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C871F0#FFFFFF#000000##000000
##C871F01.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5191F4
Deuteranopia (green-blind)
#6E98ED
Tritanopia (blue-blind)
#C586A6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c871f0;
/* rgb */ color: rgb(200, 113, 240);
/* oklch */ color: oklch(69.5% 0.196 314.1);
Tailwind
colors: {
  custom: {
    50: '#db9df5',
    500: '#c871f0',
    950: '#000000',
  },
}
SCSS
$custom: #c871f0;
$custom-light: #db9df5;
$custom-dark: #000000;
JSON
{
  "hex": "#c871f0",
  "rgb": {
    "r": 200,
    "g": 113,
    "b": 240
  },
  "hsl": {
    "h": 281.102,
    "s": 80.892,
    "l": 69.216
  },
  "oklch": {
    "l": 0.69529,
    "c": 0.19561,
    "h": 314.1
  },
  "luminance": 0.30381
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C871F0

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

Preview Lab → · Contrast checker → · Palette generator →

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