#C862DD#C862DD

#C862DD is a light, vivid purple. Relative luminance 0.262; OKLCH L 66.5% C 0.199 H 320.5°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#C862DD
RGBrgb(200, 98, 221)
HSLhsl(290, 64%, 63%)
HSVhsv(290, 56%, 87%)
CMYKcmyk(9.5%, 55.7%, 0%, 13.3%)
CIE-LABlab(58.26, 58.42, -45.63)
CIE-LCHlch(58.26, 74.13, 322.01°)
OKLaboklab(66.48% 0.154 -0.1268)
OKLCHoklch(66.48% 0.199 320.5)
XYZxyz(41.2367, 26.2370, 71.2847)
Luminance0.2624 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C862DD #77DD62
analogous
#8A62DD #C862DD #DD62B5
triadic
#C862DD #DDC862 #62DDC8
tetradic
#C862DD #DD8A62 #77DD62 #62B5DD
square
#C862DD #DD8A62 #77DD62 #62B5DD
split-complementary
#C862DD #B5DD62 #62DD8A
monochromatic
#8C23A2 #B630D2 #C862DD #DA94E8 #EBC7F3

Accessibility & contrast

On white

3.36
#C862DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#C862DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C862DD
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C862DD#FFFFFF#000000##000000
##C862DD1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A85E1
Deuteranopia (green-blind)
#6D90DA
Tritanopia (blue-blind)
#C97496
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c862dd;
/* rgb */ color: rgb(200, 98, 221);
/* oklch */ color: oklch(66.5% 0.199 320.5);
Tailwind
colors: {
  custom: {
    50: '#db93e8',
    500: '#c862dd',
    950: '#000000',
  },
}
SCSS
$custom: #c862dd;
$custom-light: #db93e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c862dd",
  "rgb": {
    "r": 200,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 289.756,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66484,
    "c": 0.19943,
    "h": 320.5
  },
  "luminance": 0.26235
}

Semantic roles & 50–950 ramp

primary
#C862DD
secondary
#BFE4B7
accent
#CC1938
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C862DD

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

Preview Lab → · Contrast checker → · Palette generator →

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