#C862EB#C862EB

#C862EB is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.3% C 0.213 H 316.6°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#C862EB
RGBrgb(200, 98, 235)
HSLhsl(285, 77%, 65%)
HSVhsv(285, 58%, 92%)
CMYKcmyk(14.9%, 58.3%, 0%, 7.8%)
CIE-LABlab(58.99, 61.15, -52.32)
CIE-LCHlch(58.99, 80.48, 319.45°)
OKLaboklab(67.25% 0.1547 -0.1462)
OKLCHoklch(67.25% 0.213 316.6)
XYZxyz(43.1803, 27.0144, 81.5209)
Luminance0.2701 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C862EB #85EB62
analogous
#8462EB #C862EB #EB62C9
triadic
#C862EB #EBC862 #62EBC8
tetradic
#C862EB #EB8462 #85EB62 #62C9EB
square
#C862EB #EB8462 #85EB62 #62C9EB
split-complementary
#C862EB #C9EB62 #62EB84
monochromatic
#9118BB #B52CE4 #C862EB #DB98F2 #EECFF9

Accessibility & contrast

On white

3.28
#C862EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#C862EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C862EB
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C862EB#FFFFFF#000000##000000
##C862EB1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D88EF
Deuteranopia (green-blind)
#6491E8
Tritanopia (blue-blind)
#C6799E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c862eb;
/* rgb */ color: rgb(200, 98, 235);
/* oklch */ color: oklch(67.3% 0.213 316.6);
Tailwind
colors: {
  custom: {
    50: '#dc94f2',
    500: '#c862eb',
    950: '#000000',
  },
}
SCSS
$custom: #c862eb;
$custom-light: #dc94f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c862eb",
  "rgb": {
    "r": 200,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 284.672,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6725,
    "c": 0.2129,
    "h": 316.6
  },
  "luminance": 0.27013
}

Semantic roles & 50–950 ramp

primary
#C862EB
secondary
#C9EBBD
accent
#DA0C40
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #C862EB

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

Preview Lab → · Contrast checker → · Palette generator →

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