#C66AFC#C66AFC

#C66AFC is a light, highly saturated violet. Relative luminance 0.293; OKLCH L 69.0% C 0.218 H 311.1°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#C66AFC
RGBrgb(198, 106, 252)
HSLhsl(278, 96%, 70%)
HSVhsv(278, 58%, 99%)
CMYKcmyk(21.4%, 57.9%, 0%, 1.2%)
CIE-LABlab(61.08, 60.34, -58.42)
CIE-LCHlch(61.08, 83.99, 315.92°)
OKLaboklab(69.03% 0.143 -0.1642)
OKLCHoklch(69.03% 0.218 311.1)
XYZxyz(46.0102, 29.3431, 95.3166)
Luminance0.2934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C66AFC #A0FC6A
analogous
#7D6AFC #C66AFC #FC6AE9
triadic
#C66AFC #FCC66A #6AFCC6
tetradic
#C66AFC #FC7D6A #A0FC6A #6AE9FC
square
#C66AFC #FC7D6A #A0FC6A #6AE9FC
split-complementary
#C66AFC #E9FC6A #6AFC7D
monochromatic
#9305E7 #AF2EFB #C66AFC #DDA6FD #F4E1FE

Accessibility & contrast

On white

3.06
#C66AFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#C66AFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C66AFC
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C66AFC#FFFFFF#000000##000000
##C66AFC1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#378FFF
Deuteranopia (green-blind)
#5D95F8
Tritanopia (blue-blind)
#BF85A9
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c66afc;
/* rgb */ color: rgb(198, 106, 252);
/* oklch */ color: oklch(69.0% 0.218 311.1);
Tailwind
colors: {
  custom: {
    50: '#db99fe',
    500: '#c66afc',
    950: '#000000',
  },
}
SCSS
$custom: #c66afc;
$custom-light: #db99fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c66afc",
  "rgb": {
    "r": 198,
    "g": 106,
    "b": 252
  },
  "hsl": {
    "h": 277.808,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69025,
    "c": 0.2177,
    "h": 311.1
  },
  "luminance": 0.29342
}

Semantic roles & 50–950 ramp

primary
#C66AFC
secondary
#DCF5CD
accent
#E60055
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C66AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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