#C66CFE#C66CFE

#C66CFE is a light, highly saturated violet. Relative luminance 0.299; OKLCH L 69.4% C 0.217 H 310.4°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#C66CFE
RGBrgb(198, 108, 254)
HSLhsl(277, 99%, 71%)
HSVhsv(277, 57%, 100%)
CMYKcmyk(22%, 57.5%, 0%, 0.4%)
CIE-LABlab(61.56, 59.79, -58.77)
CIE-LCHlch(61.56, 83.83, 315.49°)
OKLaboklab(69.41% 0.1406 -0.1652)
OKLCHoklch(69.41% 0.217 310.4)
XYZxyz(46.5373, 29.8876, 97.0640)
Luminance0.2989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C66CFE #A4FE6C
analogous
#7D6CFE #C66CFE #FE6CED
triadic
#C66CFE #FEC66C #6CFEC6
tetradic
#C66CFE #FE7D6C #A4FE6C #6CEDFE
square
#C66CFE #FE7D6C #A4FE6C #6CEDFE
split-complementary
#C66CFE #EDFE6C #6CFE7D
monochromatic
#9302EE #AE2FFE #C66CFE #DEA9FE #F3E1FF

Accessibility & contrast

On white

3.01
#C66CFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#C66CFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C66CFE
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C66CFE#FFFFFF#000000##000000
##C66CFE1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3990FF
Deuteranopia (green-blind)
#5D96FA
Tritanopia (blue-blind)
#BF87AB
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c66cfe;
/* rgb */ color: rgb(198, 108, 254);
/* oklch */ color: oklch(69.4% 0.217 310.4);
Tailwind
colors: {
  custom: {
    50: '#db9aff',
    500: '#c66cfe',
    950: '#000000',
  },
}
SCSS
$custom: #c66cfe;
$custom-light: #db9aff;
$custom-dark: #000000;
JSON
{
  "hex": "#c66cfe",
  "rgb": {
    "r": 198,
    "g": 108,
    "b": 254
  },
  "hsl": {
    "h": 276.986,
    "s": 98.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69406,
    "c": 0.21692,
    "h": 310.4
  },
  "luminance": 0.29887
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C66CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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