#C866FE#C866FE

#C866FE is a light, highly saturated violet. Relative luminance 0.289; OKLCH L 68.9% C 0.226 H 311.6°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#C866FE
RGBrgb(200, 102, 254)
HSLhsl(279, 99%, 70%)
HSVhsv(279, 60%, 100%)
CMYKcmyk(21.3%, 59.8%, 0%, 0.4%)
CIE-LABlab(60.73, 63.14, -60.08)
CIE-LCHlch(60.73, 87.15, 316.42°)
OKLaboklab(68.85% 0.1502 -0.1689)
OKLCHoklch(68.85% 0.226 311.6)
XYZxyz(46.4569, 28.9390, 96.8852)
Luminance0.2894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C866FE #9CFE66
analogous
#7C66FE #C866FE #FE66E8
triadic
#C866FE #FEC866 #66FEC8
tetradic
#C866FE #FE7C66 #9CFE66 #66E8FE
square
#C866FE #FE7C66 #9CFE66 #66E8FE
split-complementary
#C866FE #E8FE66 #66FE7C
monochromatic
#9602E8 #B229FE #C866FE #DEA3FE #F4E0FF

Accessibility & contrast

On white

3.09
#C866FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#C866FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C866FE
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C866FE#FFFFFF#000000##000000
##C866FE1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8EFF
Deuteranopia (green-blind)
#5994FA
Tritanopia (blue-blind)
#C282A9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c866fe;
/* rgb */ color: rgb(200, 102, 254);
/* oklch */ color: oklch(68.9% 0.226 311.6);
Tailwind
colors: {
  custom: {
    50: '#dc96ff',
    500: '#c866fe',
    950: '#000000',
  },
}
SCSS
$custom: #c866fe;
$custom-light: #dc96ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c866fe",
  "rgb": {
    "r": 200,
    "g": 102,
    "b": 254
  },
  "hsl": {
    "h": 278.684,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.68854,
    "c": 0.22604,
    "h": 311.6
  },
  "luminance": 0.28938
}

Semantic roles & 50–950 ramp

primary
#C866FE
secondary
#DAF5CA
accent
#E60052
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C866FE

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

Preview Lab → · Contrast checker → · Palette generator →

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