#CC66F7#CC66F7

#CC66F7 is a light, highly saturated purple. Relative luminance 0.291; OKLCH L 68.9% C 0.221 H 314.6°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#CC66F7
RGBrgb(204, 102, 247)
HSLhsl(282, 90%, 68%)
HSVhsv(282, 59%, 97%)
CMYKcmyk(17.4%, 58.7%, 0%, 3.1%)
CIE-LABlab(60.83, 62.64, -56.02)
CIE-LCHlch(60.83, 84.03, 318.19°)
OKLaboklab(68.91% 0.1549 -0.1569)
OKLCHoklch(68.91% 0.221 314.6)
XYZxyz(46.4390, 29.0570, 91.1399)
Luminance0.2906 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC66F7 #91F766
analogous
#8366F7 #CC66F7 #F766D9
triadic
#CC66F7 #F7CC66 #66F7CC
tetradic
#CC66F7 #F78366 #91F766 #66D9F7
square
#CC66F7 #F78366 #91F766 #66D9F7
split-complementary
#CC66F7 #D9F766 #66F783
monochromatic
#9B0BD7 #B92CF4 #CC66F7 #DFA0FA #F3DAFD

Accessibility & contrast

On white

3.08
#CC66F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#CC66F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC66F7
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC66F7#FFFFFF#000000##000000
##CC66F71.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#398DFC
Deuteranopia (green-blind)
#6395F3
Tritanopia (blue-blind)
#C97FA5
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cc66f7;
/* rgb */ color: rgb(204, 102, 247);
/* oklch */ color: oklch(68.9% 0.221 314.6);
Tailwind
colors: {
  custom: {
    50: '#df96fa',
    500: '#cc66f7',
    950: '#000000',
  },
}
SCSS
$custom: #cc66f7;
$custom-light: #df96fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc66f7",
  "rgb": {
    "r": 204,
    "g": 102,
    "b": 247
  },
  "hsl": {
    "h": 282.207,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6891,
    "c": 0.22052,
    "h": 314.6
  },
  "luminance": 0.29056
}

Semantic roles & 50–950 ramp

primary
#CC66F7
secondary
#D4F2C7
accent
#E60044
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #CC66F7

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

Preview Lab → · Contrast checker → · Palette generator →

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