#C866E2#C866E2

#C866E2 is a light, vivid purple. Relative luminance 0.273; OKLCH L 67.3% C 0.198 H 318.8°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#C866E2
RGBrgb(200, 102, 226)
HSLhsl(287, 68%, 64%)
HSVhsv(287, 55%, 89%)
CMYKcmyk(11.5%, 54.9%, 0%, 11.4%)
CIE-LABlab(59.23, 57.47, -46.91)
CIE-LCHlch(59.23, 74.18, 320.78°)
OKLaboklab(67.27% 0.1492 -0.1305)
OKLCHoklch(67.27% 0.198 318.8)
XYZxyz(42.2964, 27.2748, 74.9733)
Luminance0.2727 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C866E2 #80E266
analogous
#8A66E2 #C866E2 #E266BE
triadic
#C866E2 #E2C866 #66E2C8
tetradic
#C866E2 #E28A66 #80E266 #66BEE2
square
#C866E2 #E28A66 #80E266 #66BEE2
split-complementary
#C866E2 #BEE266 #66E28A
monochromatic
#8F21AD #B633D8 #C866E2 #DA99EC #EDCDF6

Accessibility & contrast

On white

3.25
#C866E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#C866E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C866E2
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C866E2#FFFFFF#000000##000000
##C866E21.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C88E6
Deuteranopia (green-blind)
#6D92DF
Tritanopia (blue-blind)
#C8799B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c866e2;
/* rgb */ color: rgb(200, 102, 226);
/* oklch */ color: oklch(67.3% 0.198 318.8);
Tailwind
colors: {
  custom: {
    50: '#db96eb',
    500: '#c866e2',
    950: '#000000',
  },
}
SCSS
$custom: #c866e2;
$custom-light: #db96eb;
$custom-dark: #000000;
JSON
{
  "hex": "#c866e2",
  "rgb": {
    "r": 200,
    "g": 102,
    "b": 226
  },
  "hsl": {
    "h": 287.419,
    "s": 68.132,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67274,
    "c": 0.19822,
    "h": 318.8
  },
  "luminance": 0.27273
}

Semantic roles & 50–950 ramp

primary
#C866E2
secondary
#C5E7BC
accent
#D0153D
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C866E2

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

Preview Lab → · Contrast checker → · Palette generator →

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