#C66DFC#C66DFC

#C66DFC is a light, highly saturated violet. Relative luminance 0.300; OKLCH L 69.4% C 0.213 H 310.8°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#C66DFC
RGBrgb(198, 109, 252)
HSLhsl(277, 96%, 71%)
HSVhsv(277, 57%, 99%)
CMYKcmyk(21.4%, 56.7%, 0%, 1.2%)
CIE-LABlab(61.63, 58.87, -57.55)
CIE-LCHlch(61.63, 82.33, 315.65°)
OKLaboklab(69.42% 0.1393 -0.1616)
OKLCHoklch(69.42% 0.213 310.8)
XYZxyz(46.3248, 29.9723, 95.4215)
Luminance0.2997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C66DFC #A3FC6D
analogous
#7E6DFC #C66DFC #FC6DEA
triadic
#C66DFC #FCC66D #6DFCC6
tetradic
#C66DFC #FC7E6D #A3FC6D #6DEAFC
square
#C66DFC #FC7E6D #A3FC6D #6DEAFC
split-complementary
#C66DFC #EAFC6D #6DFC7E
monochromatic
#9305EA #AF31FB #C66DFC #DDA9FD #F3E1FE

Accessibility & contrast

On white

3.00
#C66DFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#C66DFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C66DFC
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C66DFC#FFFFFF#000000##000000
##C66DFC1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E91FF
Deuteranopia (green-blind)
#6096F9
Tritanopia (blue-blind)
#BF87AA
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c66dfc;
/* rgb */ color: rgb(198, 109, 252);
/* oklch */ color: oklch(69.4% 0.213 310.8);
Tailwind
colors: {
  custom: {
    50: '#da9afe',
    500: '#c66dfc',
    950: '#000000',
  },
}
SCSS
$custom: #c66dfc;
$custom-light: #da9afe;
$custom-dark: #000000;
JSON
{
  "hex": "#c66dfc",
  "rgb": {
    "r": 198,
    "g": 109,
    "b": 252
  },
  "hsl": {
    "h": 277.343,
    "s": 95.973,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69424,
    "c": 0.21339,
    "h": 310.8
  },
  "luminance": 0.29971
}

Semantic roles & 50–950 ramp

primary
#C66DFC
secondary
#DEF6CF
accent
#E60057
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C66DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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