#CC56EE#CC56EE

#CC56EE is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.5% C 0.234 H 317.9°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#CC56EE
RGBrgb(204, 86, 238)
HSLhsl(287, 82%, 64%)
HSVhsv(287, 64%, 93%)
CMYKcmyk(14.3%, 63.9%, 0%, 6.7%)
CIE-LABlab(57.72, 68.03, -55.98)
CIE-LCHlch(57.72, 88.10, 320.55°)
OKLaboklab(66.49% 0.1735 -0.1567)
OKLCHoklch(66.49% 0.234 317.9)
XYZxyz(43.6601, 25.6678, 83.5269)
Luminance0.2567 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56EE #78EE56
analogous
#8056EE #CC56EE #EE56C4
triadic
#CC56EE #EECC56 #56EECC
tetradic
#CC56EE #EE8056 #78EE56 #56C4EE
square
#CC56EE #EE8056 #78EE56 #56C4EE
split-complementary
#CC56EE #C4EE56 #56EE80
monochromatic
#9212B7 #BB1EE8 #CC56EE #DD8EF4 #EEC5F9

Accessibility & contrast

On white

3.42
#CC56EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#CC56EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC56EE
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC56EE#FFFFFF#000000##000000
##CC56EE1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2083F3
Deuteranopia (green-blind)
#5C8EEA
Tritanopia (blue-blind)
#CB719B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cc56ee;
/* rgb */ color: rgb(204, 86, 238);
/* oklch */ color: oklch(66.5% 0.234 317.9);
Tailwind
colors: {
  custom: {
    50: '#df8df4',
    500: '#cc56ee',
    950: '#000000',
  },
}
SCSS
$custom: #cc56ee;
$custom-light: #df8df4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56ee",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 238
  },
  "hsl": {
    "h": 286.579,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66494,
    "c": 0.23381,
    "h": 317.9
  },
  "luminance": 0.25666
}

Semantic roles & 50–950 ramp

primary
#CC56EE
secondary
#C1EBB5
accent
#DE0737
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC56EE

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

Preview Lab → · Contrast checker → · Palette generator →

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