#C866F7#C866F7

#C866F7 is a light, highly saturated purple. Relative luminance 0.285; OKLCH L 68.4% C 0.219 H 313.3°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#C866F7
RGBrgb(200, 102, 247)
HSLhsl(281, 90%, 68%)
HSVhsv(281, 59%, 97%)
CMYKcmyk(19%, 58.7%, 0%, 3.1%)
CIE-LABlab(60.34, 61.69, -56.84)
CIE-LCHlch(60.34, 83.88, 317.34°)
OKLaboklab(68.44% 0.1502 -0.1595)
OKLCHoklch(68.44% 0.219 313.3)
XYZxyz(45.3564, 28.4988, 91.0892)
Luminance0.2850 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C866F7 #95F766
analogous
#7F66F7 #C866F7 #F766DD
triadic
#C866F7 #F7C866 #66F7C8
tetradic
#C866F7 #F77F66 #95F766 #66DDF7
square
#C866F7 #F77F66 #95F766 #66DDF7
split-complementary
#C866F7 #DDF766 #66F77F
monochromatic
#950BD7 #B32CF4 #C866F7 #DDA0FA #F2DAFD

Accessibility & contrast

On white

3.13
#C866F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#C866F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C866F7
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C866F7#FFFFFF#000000##000000
##C866F71.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#368CFC
Deuteranopia (green-blind)
#5F94F3
Tritanopia (blue-blind)
#C380A5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c866f7;
/* rgb */ color: rgb(200, 102, 247);
/* oklch */ color: oklch(68.4% 0.219 313.3);
Tailwind
colors: {
  custom: {
    50: '#dc96fa',
    500: '#c866f7',
    950: '#000000',
  },
}
SCSS
$custom: #c866f7;
$custom-light: #dc96fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c866f7",
  "rgb": {
    "r": 200,
    "g": 102,
    "b": 247
  },
  "hsl": {
    "h": 280.552,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68444,
    "c": 0.21903,
    "h": 313.3
  },
  "luminance": 0.28498
}

Semantic roles & 50–950 ramp

primary
#C866F7
secondary
#D5F2C7
accent
#E6004A
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C866F7

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

Preview Lab → · Contrast checker → · Palette generator →

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