#CC66EB#CC66EB

#CC66EB is a light, highly saturated purple. Relative luminance 0.283; OKLCH L 68.2% C 0.209 H 317.7°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#CC66EB
RGBrgb(204, 102, 235)
HSLhsl(286, 77%, 66%)
HSVhsv(286, 57%, 92%)
CMYKcmyk(13.2%, 56.6%, 0%, 7.8%)
CIE-LABlab(60.19, 60.25, -50.37)
CIE-LCHlch(60.19, 78.53, 320.10°)
OKLaboklab(68.24% 0.1545 -0.1405)
OKLCHoklch(68.24% 0.209 317.7)
XYZxyz(44.6465, 28.3400, 81.6995)
Luminance0.2834 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC66EB #85EB66
analogous
#8966EB #CC66EB #EB66C7
triadic
#CC66EB #EBCC66 #66EBCC
tetradic
#CC66EB #EB8966 #85EB66 #66C7EB
square
#CC66EB #EB8966 #85EB66 #66C7EB
split-complementary
#CC66EB #C7EB66 #66EB89
monochromatic
#9719BE #BA30E4 #CC66EB #DE9CF2 #F0D2F9

Accessibility & contrast

On white

3.15
#CC66EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#CC66EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC66EB
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC66EB#FFFFFF#000000##000000
##CC66EB1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#468AEF
Deuteranopia (green-blind)
#6B94E8
Tritanopia (blue-blind)
#CB7B9F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cc66eb;
/* rgb */ color: rgb(204, 102, 235);
/* oklch */ color: oklch(68.2% 0.209 317.7);
Tailwind
colors: {
  custom: {
    50: '#de96f2',
    500: '#cc66eb',
    950: '#000000',
  },
}
SCSS
$custom: #cc66eb;
$custom-light: #de96f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc66eb",
  "rgb": {
    "r": 204,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 286.015,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68239,
    "c": 0.2088,
    "h": 317.7
  },
  "luminance": 0.28338
}

Semantic roles & 50–950 ramp

primary
#CC66EB
secondary
#CBECC1
accent
#D90C3C
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150E17
muted
#847E85

Preview Lab

Preview with #CC66EB

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

Preview Lab → · Contrast checker → · Palette generator →

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