#CC45B6#CC45B6

#CC45B6 is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.7% C 0.210 H 335.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CC45B6
RGBrgb(204, 69, 182)
HSLhsl(310, 57%, 54%)
HSVhsv(310, 66%, 80%)
CMYKcmyk(0%, 66.2%, 10.8%, 20%)
CIE-LABlab(52.37, 65.30, -32.55)
CIE-LCHlch(52.37, 72.96, 333.50°)
OKLaboklab(61.69% 0.1901 -0.0888)
OKLCHoklch(61.69% 0.21 335)
XYZxyz(35.4738, 20.4740, 46.3304)
Luminance0.2047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC45B6 #45CC5B
analogous
#9E45CC #CC45B6 #CC4572
triadic
#CC45B6 #B6CC45 #45B6CC
tetradic
#CC45B6 #CC9E45 #45CC5B #4572CC
square
#CC45B6 #CC9E45 #45CC5B #4572CC
split-complementary
#CC45B6 #72CC45 #45CC9E
monochromatic
#762068 #A62E93 #CC45B6 #D975C9 #E6A5DC

Accessibility & contrast

On white

4.12
#CC45B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#CC45B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC45B6
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC45B6#FFFFFF#000000##000000
##CC45B61.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4570B9
Deuteranopia (green-blind)
#7184B3
Tritanopia (blue-blind)
#D64E78
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc45b6;
/* rgb */ color: rgb(204, 69, 182);
/* oklch */ color: oklch(61.7% 0.210 335.0);
Tailwind
colors: {
  custom: {
    50: '#df83cc',
    500: '#cc45b6',
    950: '#000000',
  },
}
SCSS
$custom: #cc45b6;
$custom-light: #df83cc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc45b6",
  "rgb": {
    "r": 204,
    "g": 69,
    "b": 182
  },
  "hsl": {
    "h": 309.778,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61688,
    "c": 0.20976,
    "h": 335
  },
  "luminance": 0.20471
}

Semantic roles & 50–950 ramp

primary
#CC45B6
secondary
#99D3A3
accent
#E06048
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC45B6

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

Preview Lab → · Contrast checker → · Palette generator →

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