#C866E4#C866E4

#C866E4 is a light, highly saturated purple. Relative luminance 0.274; OKLCH L 67.4% C 0.200 H 318.2°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#C866E4
RGBrgb(200, 102, 228)
HSLhsl(287, 70%, 65%)
HSVhsv(287, 55%, 89%)
CMYKcmyk(12.3%, 55.3%, 0%, 10.6%)
CIE-LABlab(59.33, 57.87, -47.87)
CIE-LCHlch(59.33, 75.10, 320.40°)
OKLaboklab(67.38% 0.1493 -0.1333)
OKLCHoklch(67.38% 0.2 318.2)
XYZxyz(42.5725, 27.3852, 76.4271)
Luminance0.2738 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C866E4 #82E466
analogous
#8966E4 #C866E4 #E466C1
triadic
#C866E4 #E4C866 #66E4C8
tetradic
#C866E4 #E48966 #82E466 #66C1E4
square
#C866E4 #E48966 #82E466 #66C1E4
split-complementary
#C866E4 #C1E466 #66E489
monochromatic
#901FB0 #B532DB #C866E4 #DB9AED #EDCEF6

Accessibility & contrast

On white

3.24
#C866E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#C866E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C866E4
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C866E4#FFFFFF#000000##000000
##C866E41.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A88E8
Deuteranopia (green-blind)
#6C92E1
Tritanopia (blue-blind)
#C8799C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c866e4;
/* rgb */ color: rgb(200, 102, 228);
/* oklch */ color: oklch(67.4% 0.200 318.2);
Tailwind
colors: {
  custom: {
    50: '#db96ed',
    500: '#c866e4',
    950: '#000000',
  },
}
SCSS
$custom: #c866e4;
$custom-light: #db96ed;
$custom-dark: #000000;
JSON
{
  "hex": "#c866e4",
  "rgb": {
    "r": 200,
    "g": 102,
    "b": 228
  },
  "hsl": {
    "h": 286.667,
    "s": 70,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67381,
    "c": 0.20018,
    "h": 318.2
  },
  "luminance": 0.27384
}

Semantic roles & 50–950 ramp

primary
#C866E4
secondary
#C7E9BD
accent
#D2143E
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C866E4

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

Preview Lab → · Contrast checker → · Palette generator →

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