#CC56E5#CC56E5

#CC56E5 is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.0% C 0.226 H 320.2°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#CC56E5
RGBrgb(204, 86, 229)
HSLhsl(290, 73%, 62%)
HSVhsv(290, 62%, 90%)
CMYKcmyk(10.9%, 62.4%, 0%, 10.2%)
CIE-LABlab(57.22, 66.34, -51.74)
CIE-LCHlch(57.22, 84.13, 322.05°)
OKLaboklab(65.97% 0.1735 -0.1444)
OKLCHoklch(65.97% 0.226 320.2)
XYZxyz(42.3708, 25.1521, 76.7365)
Luminance0.2515 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56E5 #6FE556
analogous
#8456E5 #CC56E5 #E556B7
triadic
#CC56E5 #E5CC56 #56E5CC
tetradic
#CC56E5 #E58456 #6FE556 #56B7E5
square
#CC56E5 #E58456 #6FE556 #56B7E5
split-complementary
#CC56E5 #B7E556 #56E584
monochromatic
#8E1AA7 #BB22DC #CC56E5 #DC8BED #ECC0F5

Accessibility & contrast

On white

3.48
#CC56E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#CC56E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC56E5
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC56E5#FFFFFF#000000##000000
##CC56E51.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3081E9
Deuteranopia (green-blind)
#628EE1
Tritanopia (blue-blind)
#CD6E96
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cc56e5;
/* rgb */ color: rgb(204, 86, 229);
/* oklch */ color: oklch(66.0% 0.226 320.2);
Tailwind
colors: {
  custom: {
    50: '#df8dee',
    500: '#cc56e5',
    950: '#000000',
  },
}
SCSS
$custom: #cc56e5;
$custom-light: #df8dee;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56e5",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 289.51,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65975,
    "c": 0.2257,
    "h": 320.2
  },
  "luminance": 0.2515
}

Semantic roles & 50–950 ramp

primary
#CC56E5
secondary
#BAE6B1
accent
#D51033
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC56E5

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

Preview Lab → · Contrast checker → · Palette generator →

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