#CC56C4#CC56C4

#CC56C4 is a light, vivid purple. Relative luminance 0.235; OKLCH L 64.2% C 0.197 H 330.3°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#CC56C4
RGBrgb(204, 86, 196)
HSLhsl(304, 54%, 57%)
HSVhsv(304, 58%, 80%)
CMYKcmyk(0%, 57.8%, 3.9%, 20%)
CIE-LABlab(55.56, 60.50, -35.64)
CIE-LCHlch(55.56, 70.21, 329.50°)
OKLaboklab(64.23% 0.1713 -0.0977)
OKLCHoklch(64.23% 0.197 330.3)
XYZxyz(38.1932, 23.4810, 54.7345)
Luminance0.2348 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56C4 #56CC5E
analogous
#9956CC #CC56C4 #CC5689
triadic
#CC56C4 #C4CC56 #56C4CC
tetradic
#CC56C4 #CC9956 #56CC5E #5689CC
square
#CC56C4 #CC9956 #56CC5E #5689CC
split-complementary
#CC56C4 #89CC56 #56CC99
monochromatic
#81277B #B035A7 #CC56C4 #DA85D4 #E8B4E5

Accessibility & contrast

On white

3.69
#CC56C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#CC56C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC56C4
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC56C4#FFFFFF#000000##000000
##CC56C41.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7BC7
Deuteranopia (green-blind)
#748BC1
Tritanopia (blue-blind)
#D36185
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cc56c4;
/* rgb */ color: rgb(204, 86, 196);
/* oklch */ color: oklch(64.2% 0.197 330.3);
Tailwind
colors: {
  custom: {
    50: '#de8cd6',
    500: '#cc56c4',
    950: '#000000',
  },
}
SCSS
$custom: #cc56c4;
$custom-light: #de8cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56c4",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 196
  },
  "hsl": {
    "h": 304.068,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64229,
    "c": 0.19723,
    "h": 330.3
  },
  "luminance": 0.23478
}

Semantic roles & 50–950 ramp

primary
#CC56C4
secondary
#A7D7AA
accent
#DD554B
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#150D14
muted
#847D83

Preview Lab

Preview with #CC56C4

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

Preview Lab → · Contrast checker → · Palette generator →

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