#C862EA#C862EA

#C862EA is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.2% C 0.212 H 316.9°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#C862EA
RGBrgb(200, 98, 234)
HSLhsl(285, 76%, 65%)
HSVhsv(285, 58%, 92%)
CMYKcmyk(14.5%, 58.1%, 0%, 8.2%)
CIE-LABlab(58.93, 60.95, -51.84)
CIE-LCHlch(58.93, 80.02, 319.62°)
OKLaboklab(67.19% 0.1547 -0.1449)
OKLCHoklch(67.19% 0.212 316.9)
XYZxyz(43.0362, 26.9568, 80.7622)
Luminance0.2696 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C862EA #84EA62
analogous
#8462EA #C862EA #EA62C8
triadic
#C862EA #EAC862 #62EAC8
tetradic
#C862EA #EA8462 #84EA62 #62C8EA
square
#C862EA #EA8462 #84EA62 #62C8EA
split-complementary
#C862EA #C8EA62 #62EA84
monochromatic
#9119B9 #B52CE3 #C862EA #DB98F1 #EECEF8

Accessibility & contrast

On white

3.29
#C862EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#C862EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C862EA
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C862EA#FFFFFF#000000##000000
##C862EA1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E87EE
Deuteranopia (green-blind)
#6591E7
Tritanopia (blue-blind)
#C7799D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c862ea;
/* rgb */ color: rgb(200, 98, 234);
/* oklch */ color: oklch(67.2% 0.212 316.9);
Tailwind
colors: {
  custom: {
    50: '#dc94f1',
    500: '#c862ea',
    950: '#000000',
  },
}
SCSS
$custom: #c862ea;
$custom-light: #dc94f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c862ea",
  "rgb": {
    "r": 200,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 285,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67194,
    "c": 0.21192,
    "h": 316.9
  },
  "luminance": 0.26955
}

Semantic roles & 50–950 ramp

primary
#C862EA
secondary
#C8EBBD
accent
#D90D40
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #C862EA

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

Preview Lab → · Contrast checker → · Palette generator →

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