#C862CE#C862CE

#C862CE is a light, vivid purple. Relative luminance 0.255; OKLCH L 65.7% C 0.185 H 325.3°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#C862CE
RGBrgb(200, 98, 206)
HSLhsl(297, 52%, 60%)
HSVhsv(297, 52%, 81%)
CMYKcmyk(2.9%, 52.4%, 0%, 19.2%)
CIE-LABlab(57.53, 55.63, -38.30)
CIE-LCHlch(57.53, 67.53, 325.45°)
OKLaboklab(65.71% 0.1524 -0.1056)
OKLCHoklch(65.71% 0.185 325.3)
XYZxyz(39.3268, 25.4730, 61.2259)
Luminance0.2547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C862CE #68CE62
analogous
#9262CE #C862CE #CE629E
triadic
#C862CE #CEC862 #62CEC8
tetradic
#C862CE #CE9262 #68CE62 #629ECE
square
#C862CE #CE9262 #68CE62 #629ECE
split-complementary
#C862CE #9ECE62 #62CE92
monochromatic
#852B8A #B23AB9 #C862CE #D891DD #E9BFEB

Accessibility & contrast

On white

3.45
#C862CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#C862CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C862CE
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C862CE#FFFFFF#000000##000000
##C862CE1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5582D2
Deuteranopia (green-blind)
#758FCB
Tritanopia (blue-blind)
#CC6F8F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c862ce;
/* rgb */ color: rgb(200, 98, 206);
/* oklch */ color: oklch(65.7% 0.185 325.3);
Tailwind
colors: {
  custom: {
    50: '#db93dd',
    500: '#c862ce',
    950: '#000000',
  },
}
SCSS
$custom: #c862ce;
$custom-light: #db93dd;
$custom-dark: #000000;
JSON
{
  "hex": "#c862ce",
  "rgb": {
    "r": 200,
    "g": 98,
    "b": 206
  },
  "hsl": {
    "h": 296.667,
    "s": 52.427,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65713,
    "c": 0.18542,
    "h": 325.3
  },
  "luminance": 0.25471
}

Semantic roles & 50–950 ramp

primary
#C862CE
secondary
#B3DBB1
accent
#DC4C54
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C862CE

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

Preview Lab → · Contrast checker → · Palette generator →

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