#C666FF#C666FF

#C666FF is a light, highly saturated violet. Relative luminance 0.287; OKLCH L 68.7% C 0.226 H 310.7°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#C666FF
RGBrgb(198, 102, 255)
HSLhsl(278, 100%, 70%)
HSVhsv(278, 60%, 100%)
CMYKcmyk(22.4%, 60%, 0%, 0%)
CIE-LABlab(60.54, 62.89, -60.94)
CIE-LCHlch(60.54, 87.57, 315.90°)
OKLaboklab(68.69% 0.1478 -0.1715)
OKLCHoklch(68.69% 0.226 310.7)
XYZxyz(46.0867, 28.7295, 97.7059)
Luminance0.2873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C666FF #9FFF66
analogous
#7966FF #C666FF #FF66EC
triadic
#C666FF #FFC666 #66FFC6
tetradic
#C666FF #FF7966 #9FFF66 #66ECFF
square
#C666FF #FF7966 #9FFF66 #66ECFF
split-complementary
#C666FF #ECFF66 #66FF79
monochromatic
#9300EB #AF29FF #C666FF #DDA3FF #F4E0FF

Accessibility & contrast

On white

3.11
#C666FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#C666FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C666FF
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C666FF#FFFFFF#000000##000000
##C666FF1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#288DFF
Deuteranopia (green-blind)
#5694FB
Tritanopia (blue-blind)
#BF83A9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c666ff;
/* rgb */ color: rgb(198, 102, 255);
/* oklch */ color: oklch(68.7% 0.226 310.7);
Tailwind
colors: {
  custom: {
    50: '#db96ff',
    500: '#c666ff',
    950: '#000000',
  },
}
SCSS
$custom: #c666ff;
$custom-light: #db96ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c666ff",
  "rgb": {
    "r": 198,
    "g": 102,
    "b": 255
  },
  "hsl": {
    "h": 277.647,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.68685,
    "c": 0.22638,
    "h": 310.7
  },
  "luminance": 0.28729
}

Semantic roles & 50–950 ramp

primary
#C666FF
secondary
#DBF6CB
accent
#E60056
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C666FF

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

Preview Lab → · Contrast checker → · Palette generator →

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