#C866FA#C866FA

#C866FA is a light, highly saturated violet. Relative luminance 0.287; OKLCH L 68.6% C 0.222 H 312.6°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#C866FA
RGBrgb(200, 102, 250)
HSLhsl(280, 94%, 69%)
HSVhsv(280, 59%, 98%)
CMYKcmyk(20%, 59.2%, 0%, 2%)
CIE-LABlab(60.50, 62.31, -58.23)
CIE-LCHlch(60.50, 85.28, 316.94°)
OKLaboklab(68.62% 0.1502 -0.1635)
OKLCHoklch(68.62% 0.222 312.6)
XYZxyz(45.8231, 28.6854, 93.5469)
Luminance0.2868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C866FA #98FA66
analogous
#7E66FA #C866FA #FA66E2
triadic
#C866FA #FAC866 #66FAC8
tetradic
#C866FA #FA7E66 #98FA66 #66E2FA
square
#C866FA #FA7E66 #98FA66 #66E2FA
split-complementary
#C866FA #E2FA66 #66FA7E
monochromatic
#9607DE #B32BF8 #C866FA #DDA1FC #F3DDFE

Accessibility & contrast

On white

3.12
#C866FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#C866FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C866FA
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C866FA#FFFFFF#000000##000000
##C866FA1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#328DFF
Deuteranopia (green-blind)
#5D94F6
Tritanopia (blue-blind)
#C381A7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c866fa;
/* rgb */ color: rgb(200, 102, 250);
/* oklch */ color: oklch(68.6% 0.222 312.6);
Tailwind
colors: {
  custom: {
    50: '#dc96fd',
    500: '#c866fa',
    950: '#000000',
  },
}
SCSS
$custom: #c866fa;
$custom-light: #dc96fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c866fa",
  "rgb": {
    "r": 200,
    "g": 102,
    "b": 250
  },
  "hsl": {
    "h": 279.73,
    "s": 93.671,
    "l": 69.02
  },
  "oklch": {
    "l": 0.68618,
    "c": 0.22203,
    "h": 312.6
  },
  "luminance": 0.28684
}

Semantic roles & 50–950 ramp

primary
#C866FA
secondary
#D7F4C8
accent
#E6004E
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C866FA

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

Preview Lab → · Contrast checker → · Palette generator →

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