#C866FC#C866FC

#C866FC is a light, highly saturated violet. Relative luminance 0.288; OKLCH L 68.7% C 0.224 H 312.1°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#C866FC
RGBrgb(200, 102, 252)
HSLhsl(279, 96%, 69%)
HSVhsv(279, 60%, 99%)
CMYKcmyk(20.6%, 59.5%, 0%, 1.2%)
CIE-LABlab(60.61, 62.72, -59.15)
CIE-LCHlch(60.61, 86.22, 316.68°)
OKLaboklab(68.74% 0.1502 -0.1662)
OKLCHoklch(68.74% 0.224 312.1)
XYZxyz(46.1383, 28.8115, 95.2073)
Luminance0.2881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C866FC #9AFC66
analogous
#7D66FC #C866FC #FC66E5
triadic
#C866FC #FCC866 #66FCC8
tetradic
#C866FC #FC7D66 #9AFC66 #66E5FC
square
#C866FC #FC7D66 #9AFC66 #66E5FC
split-complementary
#C866FC #E5FC66 #66FC7D
monochromatic
#9604E3 #B22AFB #C866FC #DEA2FD #F3DEFE

Accessibility & contrast

On white

3.11
#C866FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#C866FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C866FC
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C866FC#FFFFFF#000000##000000
##C866FC1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8DFF
Deuteranopia (green-blind)
#5B94F8
Tritanopia (blue-blind)
#C282A8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c866fc;
/* rgb */ color: rgb(200, 102, 252);
/* oklch */ color: oklch(68.7% 0.224 312.1);
Tailwind
colors: {
  custom: {
    50: '#dc96fe',
    500: '#c866fc',
    950: '#000000',
  },
}
SCSS
$custom: #c866fc;
$custom-light: #dc96fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c866fc",
  "rgb": {
    "r": 200,
    "g": 102,
    "b": 252
  },
  "hsl": {
    "h": 279.2,
    "s": 96.154,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68736,
    "c": 0.22403,
    "h": 312.1
  },
  "luminance": 0.2881
}

Semantic roles & 50–950 ramp

primary
#C866FC
secondary
#D8F5C9
accent
#E60050
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C866FC

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

Preview Lab → · Contrast checker → · Palette generator →

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