#C666FE#C666FE

#C666FE is a light, highly saturated violet. Relative luminance 0.287; OKLCH L 68.6% C 0.225 H 311.0°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#C666FE
RGBrgb(198, 102, 254)
HSLhsl(278, 99%, 70%)
HSVhsv(278, 60%, 100%)
CMYKcmyk(22%, 59.8%, 0%, 0.4%)
CIE-LABlab(60.49, 62.68, -60.48)
CIE-LCHlch(60.49, 87.10, 316.02°)
OKLaboklab(68.63% 0.1478 -0.1702)
OKLCHoklch(68.63% 0.225 311)
XYZxyz(45.9261, 28.6653, 96.8603)
Luminance0.2866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C666FE #9EFE66
analogous
#7A66FE #C666FE #FE66EA
triadic
#C666FE #FEC666 #66FEC6
tetradic
#C666FE #FE7A66 #9EFE66 #66EAFE
square
#C666FE #FE7A66 #9EFE66 #66EAFE
split-complementary
#C666FE #EAFE66 #66FE7A
monochromatic
#9302E8 #AF29FE #C666FE #DDA3FE #F3E0FF

Accessibility & contrast

On white

3.12
#C666FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#C666FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C666FE
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C666FE#FFFFFF#000000##000000
##C666FE1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A8DFF
Deuteranopia (green-blind)
#5794FA
Tritanopia (blue-blind)
#BF83A9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c666fe;
/* rgb */ color: rgb(198, 102, 254);
/* oklch */ color: oklch(68.6% 0.225 311.0);
Tailwind
colors: {
  custom: {
    50: '#db96ff',
    500: '#c666fe',
    950: '#000000',
  },
}
SCSS
$custom: #c666fe;
$custom-light: #db96ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c666fe",
  "rgb": {
    "r": 198,
    "g": 102,
    "b": 254
  },
  "hsl": {
    "h": 277.895,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.68625,
    "c": 0.22538,
    "h": 311
  },
  "luminance": 0.28664
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C666FE

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

Preview Lab → · Contrast checker → · Palette generator →

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