#CC56C2#CC56C2

#CC56C2 is a light, vivid purple. Relative luminance 0.234; OKLCH L 64.1% C 0.196 H 331.0°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#CC56C2
RGBrgb(204, 86, 194)
HSLhsl(305, 54%, 57%)
HSVhsv(305, 58%, 80%)
CMYKcmyk(0%, 57.8%, 4.9%, 20%)
CIE-LABlab(55.47, 60.16, -34.63)
CIE-LCHlch(55.47, 69.42, 330.07°)
OKLaboklab(64.13% 0.1711 -0.0949)
OKLCHoklch(64.13% 0.196 331)
XYZxyz(37.9670, 23.3906, 53.5436)
Luminance0.2339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56C2 #56CC60
analogous
#9B56CC #CC56C2 #CC5687
triadic
#CC56C2 #C2CC56 #56C2CC
tetradic
#CC56C2 #CC9B56 #56CC60 #5687CC
square
#CC56C2 #CC9B56 #56CC60 #5687CC
split-complementary
#CC56C2 #87CC56 #56CC9B
monochromatic
#812779 #B035A5 #CC56C2 #DA85D3 #E8B4E4

Accessibility & contrast

On white

3.70
#CC56C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#CC56C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC56C2
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC56C2#FFFFFF#000000##000000
##CC56C21.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#507AC5
Deuteranopia (green-blind)
#758BBF
Tritanopia (blue-blind)
#D36184
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cc56c2;
/* rgb */ color: rgb(204, 86, 194);
/* oklch */ color: oklch(64.1% 0.196 331.0);
Tailwind
colors: {
  custom: {
    50: '#de8cd5',
    500: '#cc56c2',
    950: '#000000',
  },
}
SCSS
$custom: #cc56c2;
$custom-light: #de8cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56c2",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 194
  },
  "hsl": {
    "h": 305.085,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64132,
    "c": 0.19561,
    "h": 331
  },
  "luminance": 0.23388
}

Semantic roles & 50–950 ramp

primary
#CC56C2
secondary
#A7D7AB
accent
#DD574B
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#150D14
muted
#847D83

Preview Lab

Preview with #CC56C2

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

Preview Lab → · Contrast checker → · Palette generator →

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