#C862CD#C862CD

#C862CD is a light, vivid purple. Relative luminance 0.254; OKLCH L 65.7% C 0.184 H 325.6°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#C862CD
RGBrgb(200, 98, 205)
HSLhsl(297, 52%, 59%)
HSVhsv(297, 52%, 80%)
CMYKcmyk(2.4%, 52.2%, 0%, 19.6%)
CIE-LABlab(57.49, 55.44, -37.80)
CIE-LCHlch(57.49, 67.10, 325.71°)
OKLaboklab(65.66% 0.1523 -0.1041)
OKLCHoklch(65.66% 0.185 325.6)
XYZxyz(39.2057, 25.4246, 60.5881)
Luminance0.2542 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C862CD #67CD62
analogous
#9362CD #C862CD #CD629D
triadic
#C862CD #CDC862 #62CDC8
tetradic
#C862CD #CD9362 #67CD62 #629DCD
square
#C862CD #CD9362 #67CD62 #629DCD
split-complementary
#C862CD #9DCD62 #62CD93
monochromatic
#852C89 #B23AB7 #C862CD #D890DC #E9BFEB

Accessibility & contrast

On white

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

On black

6.08
#C862CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C862CD
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C862CD#FFFFFF#000000##000000
##C862CD1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c862cd;
/* rgb */ color: rgb(200, 98, 205);
/* oklch */ color: oklch(65.7% 0.184 325.6);
Tailwind
colors: {
  custom: {
    50: '#db93dc',
    500: '#c862cd',
    950: '#000000',
  },
}
SCSS
$custom: #c862cd;
$custom-light: #db93dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c862cd",
  "rgb": {
    "r": 200,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 297.196,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.65663,
    "c": 0.1845,
    "h": 325.6
  },
  "luminance": 0.25423
}

Semantic roles & 50–950 ramp

primary
#C862CD
secondary
#B3DAB1
accent
#DB4D53
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C862CD

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

Preview Lab → · Contrast checker → · Palette generator →

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