#C862EF#C862EF

#C862EF is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.5% C 0.217 H 315.6°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#C862EF
RGBrgb(200, 98, 239)
HSLhsl(283, 82%, 66%)
HSVhsv(283, 59%, 94%)
CMYKcmyk(16.3%, 59%, 0%, 6.3%)
CIE-LABlab(59.20, 61.95, -54.20)
CIE-LCHlch(59.20, 82.31, 318.81°)
OKLaboklab(67.48% 0.1548 -0.1517)
OKLCHoklch(67.48% 0.217 315.6)
XYZxyz(43.7647, 27.2482, 84.5987)
Luminance0.2725 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C862EF #89EF62
analogous
#8162EF #C862EF #EF62D0
triadic
#C862EF #EFC862 #62EFC8
tetradic
#C862EF #EF8162 #89EF62 #62D0EF
square
#C862EF #EF8162 #89EF62 #62D0EF
split-complementary
#C862EF #D0EF62 #62EF81
monochromatic
#9214C3 #B52AE9 #C862EF #DB9AF5 #EFD1FA

Accessibility & contrast

On white

3.26
#C862EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#C862EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C862EF
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C862EF#FFFFFF#000000##000000
##C862EF1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3888F3
Deuteranopia (green-blind)
#6191EB
Tritanopia (blue-blind)
#C57AA0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c862ef;
/* rgb */ color: rgb(200, 98, 239);
/* oklch */ color: oklch(67.5% 0.217 315.6);
Tailwind
colors: {
  custom: {
    50: '#dc94f5',
    500: '#c862ef',
    950: '#000000',
  },
}
SCSS
$custom: #c862ef;
$custom-light: #dc94f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c862ef",
  "rgb": {
    "r": 200,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 283.404,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67477,
    "c": 0.21679,
    "h": 315.6
  },
  "luminance": 0.27247
}

Semantic roles & 50–950 ramp

primary
#C862EF
secondary
#CCEEBF
accent
#DE0843
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150D17
muted
#837E85

Preview Lab

Preview with #C862EF

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

Preview Lab → · Contrast checker → · Palette generator →

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