#C862D8#C862D8

#C862D8 is a light, vivid purple. Relative luminance 0.260; OKLCH L 66.2% C 0.195 H 322.0°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#C862D8
RGBrgb(200, 98, 216)
HSLhsl(292, 60%, 62%)
HSVhsv(292, 55%, 85%)
CMYKcmyk(7.4%, 54.6%, 0%, 15.3%)
CIE-LABlab(58.01, 57.48, -43.20)
CIE-LCHlch(58.01, 71.90, 323.07°)
OKLaboklab(66.22% 0.1535 -0.1197)
OKLCHoklch(66.22% 0.195 322)
XYZxyz(40.5804, 25.9745, 67.8285)
Luminance0.2597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C862D8 #72D862
analogous
#8D62D8 #C862D8 #D862AD
triadic
#C862D8 #D8C862 #62D8C8
tetradic
#C862D8 #D88D62 #72D862 #62ADD8
square
#C862D8 #D88D62 #72D862 #62ADD8
split-complementary
#C862D8 #ADD862 #62D88D
monochromatic
#8A2699 #B632CA #C862D8 #D993E4 #EAC4F0

Accessibility & contrast

On white

3.39
#C862D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#C862D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C862D8
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C862D8#FFFFFF#000000##000000
##C862D81.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E84DC
Deuteranopia (green-blind)
#708FD5
Tritanopia (blue-blind)
#CA7294
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c862d8;
/* rgb */ color: rgb(200, 98, 216);
/* oklch */ color: oklch(66.2% 0.195 322.0);
Tailwind
colors: {
  custom: {
    50: '#db93e4',
    500: '#c862d8',
    950: '#000000',
  },
}
SCSS
$custom: #c862d8;
$custom-light: #db93e4;
$custom-dark: #000000;
JSON
{
  "hex": "#c862d8",
  "rgb": {
    "r": 200,
    "g": 98,
    "b": 216
  },
  "hsl": {
    "h": 291.864,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66221,
    "c": 0.19469,
    "h": 322
  },
  "luminance": 0.25973
}

Semantic roles & 50–950 ramp

primary
#C862D8
secondary
#BBE1B5
accent
#C81E35
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D15
muted
#837E84

Preview Lab

Preview with #C862D8

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

Preview Lab → · Contrast checker → · Palette generator →

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