#C862E7#C862E7

#C862E7 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.0% C 0.209 H 317.7°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#C862E7
RGBrgb(200, 98, 231)
HSLhsl(286, 73%, 65%)
HSVhsv(286, 58%, 91%)
CMYKcmyk(13.4%, 57.6%, 0%, 9.4%)
CIE-LABlab(58.78, 60.36, -50.42)
CIE-LCHlch(58.78, 78.65, 320.13°)
OKLaboklab(67.03% 0.1546 -0.1407)
OKLCHoklch(67.03% 0.209 317.7)
XYZxyz(42.6089, 26.7859, 78.5115)
Luminance0.2678 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C862E7 #81E762
analogous
#8662E7 #C862E7 #E762C4
triadic
#C862E7 #E7C862 #62E7C8
tetradic
#C862E7 #E78662 #81E762 #62C4E7
square
#C862E7 #E78662 #81E762 #62C4E7
split-complementary
#C862E7 #C4E762 #62E786
monochromatic
#901BB3 #B52DDF #C862E7 #DB97EF #EDCCF7

Accessibility & contrast

On white

3.30
#C862E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#C862E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C862E7
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C862E7#FFFFFF#000000##000000
##C862E71.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4187EB
Deuteranopia (green-blind)
#6791E4
Tritanopia (blue-blind)
#C7789B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c862e7;
/* rgb */ color: rgb(200, 98, 231);
/* oklch */ color: oklch(67.0% 0.209 317.7);
Tailwind
colors: {
  custom: {
    50: '#dc93ef',
    500: '#c862e7',
    950: '#000000',
  },
}
SCSS
$custom: #c862e7;
$custom-light: #dc93ef;
$custom-dark: #000000;
JSON
{
  "hex": "#c862e7",
  "rgb": {
    "r": 200,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 286.015,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67027,
    "c": 0.20902,
    "h": 317.7
  },
  "luminance": 0.26784
}

Semantic roles & 50–950 ramp

primary
#C862E7
secondary
#C6E9BB
accent
#D6103E
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C862E7

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

Preview Lab → · Contrast checker → · Palette generator →

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