#CC66F5#CC66F5

#CC66F5 is a light, highly saturated purple. Relative luminance 0.289; OKLCH L 68.8% C 0.219 H 315.1°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#CC66F5
RGBrgb(204, 102, 245)
HSLhsl(283, 88%, 68%)
HSVhsv(283, 58%, 96%)
CMYKcmyk(16.7%, 58.4%, 0%, 3.9%)
CIE-LABlab(60.72, 62.23, -55.08)
CIE-LCHlch(60.72, 83.11, 318.49°)
OKLaboklab(68.8% 0.1549 -0.1542)
OKLCHoklch(68.8% 0.219 315.1)
XYZxyz(46.1320, 28.9342, 89.5233)
Luminance0.2893 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC66F5 #8FF566
analogous
#8466F5 #CC66F5 #F566D7
triadic
#CC66F5 #F5CC66 #66F5CC
tetradic
#CC66F5 #F58466 #8FF566 #66D7F5
square
#CC66F5 #F58466 #8FF566 #66D7F5
split-complementary
#CC66F5 #D7F566 #66F584
monochromatic
#9A0ED3 #B92DF1 #CC66F5 #DF9FF9 #F2D9FD

Accessibility & contrast

On white

3.09
#CC66F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#CC66F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC66F5
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC66F5#FFFFFF#000000##000000
##CC66F51.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8CFA
Deuteranopia (green-blind)
#6495F1
Tritanopia (blue-blind)
#C97FA4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cc66f5;
/* rgb */ color: rgb(204, 102, 245);
/* oklch */ color: oklch(68.8% 0.219 315.1);
Tailwind
colors: {
  custom: {
    50: '#df96f9',
    500: '#cc66f5',
    950: '#000000',
  },
}
SCSS
$custom: #cc66f5;
$custom-light: #df96f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc66f5",
  "rgb": {
    "r": 204,
    "g": 102,
    "b": 245
  },
  "hsl": {
    "h": 282.797,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.68796,
    "c": 0.21857,
    "h": 315.1
  },
  "luminance": 0.28933
}

Semantic roles & 50–950 ramp

primary
#CC66F5
secondary
#D2F1C6
accent
#E40142
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #CC66F5

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

Preview Lab → · Contrast checker → · Palette generator →

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