#C862DE#C862DE

#C862DE is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 66.5% C 0.200 H 320.2°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#C862DE
RGBrgb(200, 98, 222)
HSLhsl(289, 65%, 63%)
HSVhsv(289, 56%, 87%)
CMYKcmyk(9.9%, 55.9%, 0%, 12.9%)
CIE-LABlab(58.31, 58.62, -46.11)
CIE-LCHlch(58.31, 74.58, 321.81°)
OKLaboklab(66.54% 0.154 -0.1282)
OKLCHoklch(66.54% 0.2 320.2)
XYZxyz(41.3703, 26.2905, 71.9885)
Luminance0.2629 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C862DE #78DE62
analogous
#8A62DE #C862DE #DE62B6
triadic
#C862DE #DEC862 #62DEC8
tetradic
#C862DE #DE8A62 #78DE62 #62B6DE
square
#C862DE #DE8A62 #78DE62 #62B6DE
split-complementary
#C862DE #B6DE62 #62DE8A
monochromatic
#8C22A3 #B62FD3 #C862DE #DA95E9 #EBC7F3

Accessibility & contrast

On white

3.36
#C862DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#C862DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C862DE
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C862DE#FFFFFF#000000##000000
##C862DE1.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4985E2
Deuteranopia (green-blind)
#6C90DB
Tritanopia (blue-blind)
#C97497
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c862de;
/* rgb */ color: rgb(200, 98, 222);
/* oklch */ color: oklch(66.5% 0.200 320.2);
Tailwind
colors: {
  custom: {
    50: '#db93e9',
    500: '#c862de',
    950: '#000000',
  },
}
SCSS
$custom: #c862de;
$custom-light: #db93e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c862de",
  "rgb": {
    "r": 200,
    "g": 98,
    "b": 222
  },
  "hsl": {
    "h": 289.355,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66537,
    "c": 0.20037,
    "h": 320.2
  },
  "luminance": 0.26289
}

Semantic roles & 50–950 ramp

primary
#C862DE
secondary
#BFE4B7
accent
#CD1838
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C862DE

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

Preview Lab → · Contrast checker → · Palette generator →

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