#C862DB#C862DB

#C862DB is a light, vivid purple. Relative luminance 0.261; OKLCH L 66.4% C 0.198 H 321.1°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#C862DB
RGBrgb(200, 98, 219)
HSLhsl(291, 63%, 62%)
HSVhsv(291, 55%, 86%)
CMYKcmyk(8.7%, 55.3%, 0%, 14.1%)
CIE-LABlab(58.16, 58.04, -44.66)
CIE-LCHlch(58.16, 73.24, 322.43°)
OKLaboklab(66.38% 0.1538 -0.124)
OKLCHoklch(66.38% 0.198 321.1)
XYZxyz(40.9718, 26.1311, 69.8897)
Luminance0.2613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C862DB #75DB62
analogous
#8C62DB #C862DB #DB62B1
triadic
#C862DB #DBC862 #62DBC8
tetradic
#C862DB #DB8C62 #75DB62 #62B1DB
square
#C862DB #DB8C62 #75DB62 #62B1DB
split-complementary
#C862DB #B1DB62 #62DB8C
monochromatic
#8B249E #B730D0 #C862DB #D994E6 #EBC6F2

Accessibility & contrast

On white

3.37
#C862DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#C862DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C862DB
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C862DB#FFFFFF#000000##000000
##C862DB1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C84DF
Deuteranopia (green-blind)
#6E90D8
Tritanopia (blue-blind)
#CA7395
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c862db;
/* rgb */ color: rgb(200, 98, 219);
/* oklch */ color: oklch(66.4% 0.198 321.1);
Tailwind
colors: {
  custom: {
    50: '#db93e6',
    500: '#c862db',
    950: '#000000',
  },
}
SCSS
$custom: #c862db;
$custom-light: #db93e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c862db",
  "rgb": {
    "r": 200,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 290.579,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66378,
    "c": 0.19753,
    "h": 321.1
  },
  "luminance": 0.26129
}

Semantic roles & 50–950 ramp

primary
#C862DB
secondary
#BDE3B6
accent
#CA1B37
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C862DB

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

Preview Lab → · Contrast checker → · Palette generator →

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