#C862ED#C862ED

#C862ED is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 67.4% C 0.215 H 316.1°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#C862ED
RGBrgb(200, 98, 237)
HSLhsl(284, 79%, 66%)
HSVhsv(284, 59%, 93%)
CMYKcmyk(15.6%, 58.6%, 0%, 7.1%)
CIE-LABlab(59.10, 61.55, -53.26)
CIE-LCHlch(59.10, 81.39, 319.13°)
OKLaboklab(67.36% 0.1548 -0.149)
OKLCHoklch(67.36% 0.215 316.1)
XYZxyz(43.4708, 27.1307, 83.0512)
Luminance0.2713 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C862ED #87ED62
analogous
#8262ED #C862ED #ED62CC
triadic
#C862ED #EDC862 #62EDC8
tetradic
#C862ED #ED8262 #87ED62 #62CCED
square
#C862ED #ED8262 #87ED62 #62CCED
split-complementary
#C862ED #CCED62 #62ED82
monochromatic
#9216BF #B52BE7 #C862ED #DB99F3 #EED0FA

Accessibility & contrast

On white

3.27
#C862ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#C862ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C862ED
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C862ED#FFFFFF#000000##000000
##C862ED1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B88F1
Deuteranopia (green-blind)
#6391EA
Tritanopia (blue-blind)
#C67A9F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c862ed;
/* rgb */ color: rgb(200, 98, 237);
/* oklch */ color: oklch(67.4% 0.215 316.1);
Tailwind
colors: {
  custom: {
    50: '#dc94f3',
    500: '#c862ed',
    950: '#000000',
  },
}
SCSS
$custom: #c862ed;
$custom-light: #dc94f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c862ed",
  "rgb": {
    "r": 200,
    "g": 98,
    "b": 237
  },
  "hsl": {
    "h": 284.029,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67363,
    "c": 0.21484,
    "h": 316.1
  },
  "luminance": 0.27129
}

Semantic roles & 50–950 ramp

primary
#C862ED
secondary
#CBEDBE
accent
#DC0A42
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #C862ED

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

Preview Lab → · Contrast checker → · Palette generator →

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