#C866F2#C866F2

#C866F2 is a light, highly saturated purple. Relative luminance 0.282; OKLCH L 68.2% C 0.214 H 314.5°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#C866F2
RGBrgb(200, 102, 242)
HSLhsl(282, 84%, 67%)
HSVhsv(282, 58%, 95%)
CMYKcmyk(17.4%, 57.9%, 0%, 5.1%)
CIE-LABlab(60.06, 60.66, -54.50)
CIE-LCHlch(60.06, 81.55, 318.06°)
OKLaboklab(68.16% 0.15 -0.1526)
OKLCHoklch(68.16% 0.214 314.5)
XYZxyz(44.5952, 28.1943, 87.0801)
Luminance0.2819 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C866F2 #90F266
analogous
#8266F2 #C866F2 #F266D6
triadic
#C866F2 #F2C866 #66F2C8
tetradic
#C866F2 #F28266 #90F266 #66D6F2
square
#C866F2 #F28266 #90F266 #66D6F2
split-complementary
#C866F2 #D6F266 #66F282
monochromatic
#9411CC #B42EED #C866F2 #DC9EF7 #F1D7FC

Accessibility & contrast

On white

3.16
#C866F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#C866F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C866F2
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C866F2#FFFFFF#000000##000000
##C866F21.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8BF6
Deuteranopia (green-blind)
#6393EF
Tritanopia (blue-blind)
#C57EA3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c866f2;
/* rgb */ color: rgb(200, 102, 242);
/* oklch */ color: oklch(68.2% 0.214 314.5);
Tailwind
colors: {
  custom: {
    50: '#dc96f7',
    500: '#c866f2',
    950: '#000000',
  },
}
SCSS
$custom: #c866f2;
$custom-light: #dc96f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c866f2",
  "rgb": {
    "r": 200,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 282,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.68157,
    "c": 0.21403,
    "h": 314.5
  },
  "luminance": 0.28193
}

Semantic roles & 50–950 ramp

primary
#C866F2
secondary
#D1F0C4
accent
#E10547
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C866F2

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

Preview Lab → · Contrast checker → · Palette generator →

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