#CC56E7#CC56E7

#CC56E7 is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.1% C 0.228 H 319.7°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#CC56E7
RGBrgb(204, 86, 231)
HSLhsl(289, 75%, 62%)
HSVhsv(289, 63%, 91%)
CMYKcmyk(11.7%, 62.8%, 0%, 9.4%)
CIE-LABlab(57.33, 66.71, -52.68)
CIE-LCHlch(57.33, 85.01, 321.70°)
OKLaboklab(66.09% 0.1735 -0.1471)
OKLCHoklch(66.09% 0.228 319.7)
XYZxyz(42.6516, 25.2644, 78.2157)
Luminance0.2526 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56E7 #71E756
analogous
#8456E7 #CC56E7 #E756B9
triadic
#CC56E7 #E7CC56 #56E7CC
tetradic
#CC56E7 #E78456 #71E756 #56B9E7
square
#CC56E7 #E78456 #71E756 #56B9E7
split-complementary
#CC56E7 #B9E756 #56E784
monochromatic
#8F18AA #BC20DF #CC56E7 #DC8CEF #ECC1F6

Accessibility & contrast

On white

3.47
#CC56E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#CC56E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC56E7
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC56E7#FFFFFF#000000##000000
##CC56E71.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D82EB
Deuteranopia (green-blind)
#618EE3
Tritanopia (blue-blind)
#CD6E97
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cc56e7;
/* rgb */ color: rgb(204, 86, 231);
/* oklch */ color: oklch(66.1% 0.228 319.7);
Tailwind
colors: {
  custom: {
    50: '#df8def',
    500: '#cc56e7',
    950: '#000000',
  },
}
SCSS
$custom: #cc56e7;
$custom-light: #df8def;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56e7",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 288.828,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66088,
    "c": 0.2275,
    "h": 319.7
  },
  "luminance": 0.25262
}

Semantic roles & 50–950 ramp

primary
#CC56E7
secondary
#BCE7B2
accent
#D70E34
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC56E7

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

Preview Lab → · Contrast checker → · Palette generator →

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