#C866EB#C866EB

#C866EB is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 67.8% C 0.207 H 316.3°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#C866EB
RGBrgb(200, 102, 235)
HSLhsl(284, 77%, 66%)
HSVhsv(284, 57%, 92%)
CMYKcmyk(14.9%, 56.6%, 0%, 7.8%)
CIE-LABlab(59.69, 59.25, -51.20)
CIE-LCHlch(59.69, 78.31, 319.17°)
OKLaboklab(67.76% 0.1498 -0.143)
OKLCHoklch(67.76% 0.207 316.3)
XYZxyz(43.5639, 27.7818, 81.6488)
Luminance0.2778 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C866EB #89EB66
analogous
#8566EB #C866EB #EB66CB
triadic
#C866EB #EBC866 #66EBC8
tetradic
#C866EB #EB8566 #89EB66 #66CBEB
square
#C866EB #EB8566 #89EB66 #66CBEB
split-complementary
#C866EB #CBEB66 #66EB85
monochromatic
#9219BE #B530E4 #C866EB #DB9CF2 #EFD2F9

Accessibility & contrast

On white

3.20
#C866EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#C866EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C866EB
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C866EB#FFFFFF#000000##000000
##C866EB1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#448AEF
Deuteranopia (green-blind)
#6893E8
Tritanopia (blue-blind)
#C67C9F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c866eb;
/* rgb */ color: rgb(200, 102, 235);
/* oklch */ color: oklch(67.8% 0.207 316.3);
Tailwind
colors: {
  custom: {
    50: '#dc96f2',
    500: '#c866eb',
    950: '#000000',
  },
}
SCSS
$custom: #c866eb;
$custom-light: #dc96f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c866eb",
  "rgb": {
    "r": 200,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 284.211,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67764,
    "c": 0.20707,
    "h": 316.3
  },
  "luminance": 0.2778
}

Semantic roles & 50–950 ramp

primary
#C866EB
secondary
#CCECC1
accent
#D90C42
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C866EB

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

Preview Lab → · Contrast checker → · Palette generator →

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