#C66AFA#C66AFA

#C66AFA is a light, highly saturated violet. Relative luminance 0.292; OKLCH L 68.9% C 0.216 H 311.5°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#C66AFA
RGBrgb(198, 106, 250)
HSLhsl(278, 94%, 70%)
HSVhsv(278, 58%, 98%)
CMYKcmyk(20.8%, 57.6%, 0%, 2%)
CIE-LABlab(60.97, 59.91, -57.49)
CIE-LCHlch(60.97, 83.04, 316.18°)
OKLaboklab(68.91% 0.143 -0.1615)
OKLCHoklch(68.91% 0.216 311.5)
XYZxyz(45.6949, 29.2170, 93.6562)
Luminance0.2922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C66AFA #9EFA6A
analogous
#7E6AFA #C66AFA #FA6AE6
triadic
#C66AFA #FAC66A #6AFAC6
tetradic
#C66AFA #FA7E6A #9EFA6A #6AE6FA
square
#C66AFA #FA7E6A #9EFA6A #6AE6FA
split-complementary
#C66AFA #E6FA6A #6AFA7E
monochromatic
#9308E2 #AF2FF8 #C66AFA #DDA5FC #F3E0FE

Accessibility & contrast

On white

3.07
#C66AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#C66AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C66AFA
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C66AFA#FFFFFF#000000##000000
##C66AFA1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8FFF
Deuteranopia (green-blind)
#5F95F6
Tritanopia (blue-blind)
#C084A8
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c66afa;
/* rgb */ color: rgb(198, 106, 250);
/* oklch */ color: oklch(68.9% 0.216 311.5);
Tailwind
colors: {
  custom: {
    50: '#db99fd',
    500: '#c66afa',
    950: '#000000',
  },
}
SCSS
$custom: #c66afa;
$custom-light: #db99fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c66afa",
  "rgb": {
    "r": 198,
    "g": 106,
    "b": 250
  },
  "hsl": {
    "h": 278.333,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.68908,
    "c": 0.21565,
    "h": 311.5
  },
  "luminance": 0.29216
}

Semantic roles & 50–950 ramp

primary
#C66AFA
secondary
#DAF4CC
accent
#E60053
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C66AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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