#C871F7#C871F7

#C871F7 is a light, highly saturated violet. Relative luminance 0.308; OKLCH L 69.9% C 0.203 H 312.3°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#C871F7
RGBrgb(200, 113, 247)
HSLhsl(279, 89%, 71%)
HSVhsv(279, 54%, 97%)
CMYKcmyk(19%, 54.3%, 0%, 3.1%)
CIE-LABlab(62.34, 56.32, -53.64)
CIE-LCHlch(62.34, 77.78, 316.40°)
OKLaboklab(69.91% 0.1365 -0.1502)
OKLCHoklch(69.91% 0.203 312.3)
XYZxyz(46.5101, 30.8061, 91.4737)
Luminance0.3080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C871F7 #A0F771
analogous
#8571F7 #C871F7 #F771E3
triadic
#C871F7 #F7C871 #71F7C8
tetradic
#C871F7 #F78571 #A0F771 #71E3F7
square
#C871F7 #F78571 #A0F771 #71E3F7
split-complementary
#C871F7 #E3F771 #71F785
monochromatic
#960DE1 #B237F4 #C871F7 #DEABFA #F4E2FD

Accessibility & contrast

On white

2.93
#C871F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#C871F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C871F7
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C871F7#FFFFFF#000000##000000
##C871F71.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B92FB
Deuteranopia (green-blind)
#6999F4
Tritanopia (blue-blind)
#C388AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c871f7;
/* rgb */ color: rgb(200, 113, 247);
/* oklch */ color: oklch(69.9% 0.203 312.3);
Tailwind
colors: {
  custom: {
    50: '#db9dfa',
    500: '#c871f7',
    950: '#000000',
  },
}
SCSS
$custom: #c871f7;
$custom-light: #db9dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#c871f7",
  "rgb": {
    "r": 200,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 278.955,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69912,
    "c": 0.20294,
    "h": 312.3
  },
  "luminance": 0.30805
}

Semantic roles & 50–950 ramp

primary
#C871F7
secondary
#DCF4D0
accent
#E60050
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C871F7

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

Preview Lab → · Contrast checker → · Palette generator →

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