#CC56E9#CC56E9

#CC56E9 is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.2% C 0.229 H 319.2°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#CC56E9
RGBrgb(204, 86, 233)
HSLhsl(288, 77%, 63%)
HSVhsv(288, 63%, 91%)
CMYKcmyk(12.4%, 63.1%, 0%, 8.6%)
CIE-LABlab(57.44, 67.09, -53.63)
CIE-LCHlch(57.44, 85.89, 321.36°)
OKLaboklab(66.2% 0.1735 -0.1499)
OKLCHoklch(66.2% 0.229 319.2)
XYZxyz(42.9357, 25.3781, 79.7118)
Luminance0.2538 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56E9 #73E956
analogous
#8256E9 #CC56E9 #E956BD
triadic
#CC56E9 #E9CC56 #56E9CC
tetradic
#CC56E9 #E98256 #73E956 #56BDE9
square
#CC56E9 #E98256 #73E956 #56BDE9
split-complementary
#CC56E9 #BDE956 #56E982
monochromatic
#9017AE #BC20E2 #CC56E9 #DC8CF0 #EDC2F7

Accessibility & contrast

On white

3.46
#CC56E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#CC56E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC56E9
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC56E9#FFFFFF#000000##000000
##CC56E91.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A82ED
Deuteranopia (green-blind)
#608EE5
Tritanopia (blue-blind)
#CC6F98
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cc56e9;
/* rgb */ color: rgb(204, 86, 233);
/* oklch */ color: oklch(66.2% 0.229 319.2);
Tailwind
colors: {
  custom: {
    50: '#df8df1',
    500: '#cc56e9',
    950: '#000000',
  },
}
SCSS
$custom: #cc56e9;
$custom-light: #df8df1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56e9",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 233
  },
  "hsl": {
    "h": 288.163,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66203,
    "c": 0.2293,
    "h": 319.2
  },
  "luminance": 0.25376
}

Semantic roles & 50–950 ramp

primary
#CC56E9
secondary
#BDE8B3
accent
#D90C35
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC56E9

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

Preview Lab → · Contrast checker → · Palette generator →

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