#C862DF#C862DF

#C862DF is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 66.6% C 0.201 H 319.9°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#C862DF
RGBrgb(200, 98, 223)
HSLhsl(289, 66%, 63%)
HSVhsv(289, 56%, 87%)
CMYKcmyk(10.3%, 56.1%, 0%, 12.5%)
CIE-LABlab(58.36, 58.81, -46.59)
CIE-LCHlch(58.36, 75.03, 321.61°)
OKLaboklab(66.59% 0.1541 -0.1296)
OKLCHoklch(66.59% 0.201 319.9)
XYZxyz(41.5047, 26.3442, 72.6964)
Luminance0.2634 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C862DF #79DF62
analogous
#8962DF #C862DF #DF62B7
triadic
#C862DF #DFC862 #62DFC8
tetradic
#C862DF #DF8962 #79DF62 #62B7DF
square
#C862DF #DF8962 #79DF62 #62B7DF
split-complementary
#C862DF #B7DF62 #62DF89
monochromatic
#8D22A5 #B62FD5 #C862DF #DA95E9 #ECC8F4

Accessibility & contrast

On white

3.35
#C862DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#C862DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C862DF
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C862DF#FFFFFF#000000##000000
##C862DF1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4885E3
Deuteranopia (green-blind)
#6C90DC
Tritanopia (blue-blind)
#C97597
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c862df;
/* rgb */ color: rgb(200, 98, 223);
/* oklch */ color: oklch(66.6% 0.201 319.9);
Tailwind
colors: {
  custom: {
    50: '#db93e9',
    500: '#c862df',
    950: '#000000',
  },
}
SCSS
$custom: #c862df;
$custom-light: #db93e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c862df",
  "rgb": {
    "r": 200,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 288.96,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66591,
    "c": 0.20133,
    "h": 319.9
  },
  "luminance": 0.26342
}

Semantic roles & 50–950 ramp

primary
#C862DF
secondary
#C0E5B8
accent
#CE1739
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C862DF

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

Preview Lab → · Contrast checker → · Palette generator →

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