#CC56CF#CC56CF

#CC56CF is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 64.8% C 0.206 H 326.7°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#CC56CF
RGBrgb(204, 86, 207)
HSLhsl(299, 56%, 57%)
HSVhsv(299, 58%, 81%)
CMYKcmyk(1.4%, 58.5%, 0%, 18.8%)
CIE-LABlab(56.09, 62.38, -41.10)
CIE-LCHlch(56.09, 74.70, 326.62°)
OKLaboklab(64.78% 0.1725 -0.1135)
OKLCHoklch(64.78% 0.206 326.7)
XYZxyz(39.4914, 24.0003, 61.5718)
Luminance0.2400 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56CF #59CF56
analogous
#8F56CF #CC56CF #CF5696
triadic
#CC56CF #CFCC56 #56CFCC
tetradic
#CC56CF #CF8F56 #59CF56 #5696CF
square
#CC56CF #CF8F56 #59CF56 #5696CF
split-complementary
#CC56CF #96CF56 #56CF8F
monochromatic
#832685 #B133B5 #CC56CF #DA86DD #E9B5EA

Accessibility & contrast

On white

3.62
#CC56CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#CC56CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC56CF
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC56CF#FFFFFF#000000##000000
##CC56CF1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#467DD3
Deuteranopia (green-blind)
#6F8CCC
Tritanopia (blue-blind)
#D1658B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cc56cf;
/* rgb */ color: rgb(204, 86, 207);
/* oklch */ color: oklch(64.8% 0.206 326.7);
Tailwind
colors: {
  custom: {
    50: '#de8cde',
    500: '#cc56cf',
    950: '#000000',
  },
}
SCSS
$custom: #cc56cf;
$custom-light: #de8cde;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56cf",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 298.512,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64782,
    "c": 0.20643,
    "h": 326.7
  },
  "luminance": 0.23998
}

Semantic roles & 50–950 ramp

primary
#CC56CF
secondary
#A9D9A8
accent
#DF494C
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #CC56CF

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

Preview Lab → · Contrast checker → · Palette generator →

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