#C866FB#C866FB

#C866FB is a light, highly saturated violet. Relative luminance 0.287; OKLCH L 68.7% C 0.223 H 312.3°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#C866FB
RGBrgb(200, 102, 251)
HSLhsl(279, 95%, 69%)
HSVhsv(279, 59%, 98%)
CMYKcmyk(20.3%, 59.4%, 0%, 1.6%)
CIE-LABlab(60.56, 62.51, -58.69)
CIE-LCHlch(60.56, 85.75, 316.81°)
OKLaboklab(68.68% 0.1502 -0.1649)
OKLCHoklch(68.68% 0.223 312.3)
XYZxyz(45.9803, 28.7483, 94.3749)
Luminance0.2875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C866FB #99FB66
analogous
#7E66FB #C866FB #FB66E4
triadic
#C866FB #FBC866 #66FBC8
tetradic
#C866FB #FB7E66 #99FB66 #66E4FB
square
#C866FB #FB7E66 #99FB66 #66E4FB
split-complementary
#C866FB #E4FB66 #66FB7E
monochromatic
#9606E1 #B32AF9 #C866FB #DDA2FD #F3DDFE

Accessibility & contrast

On white

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

On black

6.75
#C866FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C866FB
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C866FB#FFFFFF#000000##000000
##C866FB1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#318DFF
Deuteranopia (green-blind)
#5C94F7
Tritanopia (blue-blind)
#C281A7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c866fb;
/* rgb */ color: rgb(200, 102, 251);
/* oklch */ color: oklch(68.7% 0.223 312.3);
Tailwind
colors: {
  custom: {
    50: '#dc96fd',
    500: '#c866fb',
    950: '#000000',
  },
}
SCSS
$custom: #c866fb;
$custom-light: #dc96fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c866fb",
  "rgb": {
    "r": 200,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 279.463,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.68677,
    "c": 0.22303,
    "h": 312.3
  },
  "luminance": 0.28747
}

Semantic roles & 50–950 ramp

primary
#C866FB
secondary
#D8F4C9
accent
#E6004F
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C866FB

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

Preview Lab → · Contrast checker → · Palette generator →

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