#C66AFE#C66AFE

#C66AFE is a light, highly saturated violet. Relative luminance 0.295; OKLCH L 69.1% C 0.220 H 310.6°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#C66AFE
RGBrgb(198, 106, 254)
HSLhsl(277, 99%, 71%)
HSVhsv(277, 58%, 100%)
CMYKcmyk(22%, 58.3%, 0%, 0.4%)
CIE-LABlab(61.19, 60.76, -59.34)
CIE-LCHlch(61.19, 84.93, 315.68°)
OKLaboklab(69.14% 0.143 -0.1669)
OKLCHoklch(69.14% 0.22 310.6)
XYZxyz(46.3288, 29.4705, 96.9945)
Luminance0.2947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C66AFE #A2FE6A
analogous
#7C6AFE #C66AFE #FE6AEC
triadic
#C66AFE #FEC66A #6AFEC6
tetradic
#C66AFE #FE7C6A #A2FE6A #6AECFE
square
#C66AFE #FE7C6A #A2FE6A #6AECFE
split-complementary
#C66AFE #ECFE6A #6AFE7C
monochromatic
#9302EC #AF2DFE #C66AFE #DDA7FE #F3E1FF

Accessibility & contrast

On white

3.05
#C66AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#C66AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C66AFE
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C66AFE#FFFFFF#000000##000000
##C66AFE1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#348FFF
Deuteranopia (green-blind)
#5B95FA
Tritanopia (blue-blind)
#BF85AA
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c66afe;
/* rgb */ color: rgb(198, 106, 254);
/* oklch */ color: oklch(69.1% 0.220 310.6);
Tailwind
colors: {
  custom: {
    50: '#db99ff',
    500: '#c66afe',
    950: '#000000',
  },
}
SCSS
$custom: #c66afe;
$custom-light: #db99ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c66afe",
  "rgb": {
    "r": 198,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 277.297,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69142,
    "c": 0.21976,
    "h": 310.6
  },
  "luminance": 0.2947
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C66AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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