#CC66F3#CC66F3

#CC66F3 is a light, highly saturated purple. Relative luminance 0.288; OKLCH L 68.7% C 0.217 H 315.6°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#CC66F3
RGBrgb(204, 102, 243)
HSLhsl(283, 85%, 68%)
HSVhsv(283, 58%, 95%)
CMYKcmyk(16%, 58%, 0%, 4.7%)
CIE-LABlab(60.62, 61.83, -54.15)
CIE-LCHlch(60.62, 82.19, 318.79°)
OKLaboklab(68.68% 0.1548 -0.1515)
OKLCHoklch(68.68% 0.217 315.6)
XYZxyz(45.8284, 28.8127, 87.9240)
Luminance0.2881 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC66F3 #8DF366
analogous
#8566F3 #CC66F3 #F366D4
triadic
#CC66F3 #F3CC66 #66F3CC
tetradic
#CC66F3 #F38566 #8DF366 #66D4F3
square
#CC66F3 #F38566 #8DF366 #66D4F3
split-complementary
#CC66F3 #D4F366 #66F385
monochromatic
#9A10CE #B92DEF #CC66F3 #DF9FF7 #F2D7FC

Accessibility & contrast

On white

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

On black

6.76
#CC66F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC66F3
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC66F3#FFFFFF#000000##000000
##CC66F31.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8CF7
Deuteranopia (green-blind)
#6695EF
Tritanopia (blue-blind)
#CA7EA3
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cc66f3;
/* rgb */ color: rgb(204, 102, 243);
/* oklch */ color: oklch(68.7% 0.217 315.6);
Tailwind
colors: {
  custom: {
    50: '#df96f8',
    500: '#cc66f3',
    950: '#000000',
  },
}
SCSS
$custom: #cc66f3;
$custom-light: #df96f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc66f3",
  "rgb": {
    "r": 204,
    "g": 102,
    "b": 243
  },
  "hsl": {
    "h": 283.404,
    "s": 85.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68683,
    "c": 0.2166,
    "h": 315.6
  },
  "luminance": 0.28811
}

Semantic roles & 50–950 ramp

primary
#CC66F3
secondary
#D1F0C5
accent
#E20441
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #CC66F3

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

Preview Lab → · Contrast checker → · Palette generator →

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