#CC56E1#CC56E1

#CC56E1 is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.8% C 0.222 H 321.3°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#CC56E1
RGBrgb(204, 86, 225)
HSLhsl(291, 70%, 61%)
HSVhsv(291, 62%, 88%)
CMYKcmyk(9.3%, 61.8%, 0%, 11.8%)
CIE-LABlab(57.01, 65.60, -49.83)
CIE-LCHlch(57.01, 82.38, 322.78°)
OKLaboklab(65.75% 0.1734 -0.1388)
OKLCHoklch(65.75% 0.222 321.3)
XYZxyz(41.8187, 24.9313, 73.8290)
Luminance0.2493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56E1 #6BE156
analogous
#8656E1 #CC56E1 #E156B0
triadic
#CC56E1 #E1CC56 #56E1CC
tetradic
#CC56E1 #E18656 #6BE156 #56B0E1
square
#CC56E1 #E18656 #6BE156 #56B0E1
split-complementary
#CC56E1 #B0E156 #56E186
monochromatic
#8C1CA0 #BA26D4 #CC56E1 #DC8AEA #EBBEF3

Accessibility & contrast

On white

3.51
#CC56E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#CC56E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC56E1
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC56E1#FFFFFF#000000##000000
##CC56E11.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3580E5
Deuteranopia (green-blind)
#658DDD
Tritanopia (blue-blind)
#CE6C94
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cc56e1;
/* rgb */ color: rgb(204, 86, 225);
/* oklch */ color: oklch(65.8% 0.222 321.3);
Tailwind
colors: {
  custom: {
    50: '#df8deb',
    500: '#cc56e1',
    950: '#000000',
  },
}
SCSS
$custom: #cc56e1;
$custom-light: #df8deb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56e1",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 225
  },
  "hsl": {
    "h": 290.935,
    "s": 69.849,
    "l": 60.98
  },
  "oklch": {
    "l": 0.6575,
    "c": 0.22213,
    "h": 321.3
  },
  "luminance": 0.24929
}

Semantic roles & 50–950 ramp

primary
#CC56E1
secondary
#B7E4AF
accent
#D21430
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC56E1

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

Preview Lab → · Contrast checker → · Palette generator →

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