#CC45C3#CC45C3

#CC45C3 is a light, highly saturated purple. Relative luminance 0.210; OKLCH L 62.3% C 0.219 H 330.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#CC45C3
RGBrgb(204, 69, 195)
HSLhsl(304, 57%, 54%)
HSVhsv(304, 66%, 80%)
CMYKcmyk(0%, 66.2%, 4.4%, 20%)
CIE-LABlab(52.99, 67.32, -39.11)
CIE-LCHlch(52.99, 77.85, 329.85°)
OKLaboklab(62.34% 0.1913 -0.1076)
OKLCHoklch(62.34% 0.219 330.6)
XYZxyz(36.8801, 21.0365, 53.7372)
Luminance0.2103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC45C3 #45CC4E
analogous
#9145CC #CC45C3 #CC457F
triadic
#CC45C3 #C3CC45 #45C3CC
tetradic
#CC45C3 #CC9145 #45CC4E #457FCC
square
#CC45C3 #CC9145 #45CC4E #457FCC
split-complementary
#CC45C3 #7FCC45 #45CC91
monochromatic
#762070 #A62E9E #CC45C3 #D975D2 #E6A5E2

Accessibility & contrast

On white

4.03
#CC45C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#CC45C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC45C3
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC45C3#FFFFFF#000000##000000
##CC45C31.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A73C7
Deuteranopia (green-blind)
#6C85C0
Tritanopia (blue-blind)
#D4547E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc45c3;
/* rgb */ color: rgb(204, 69, 195);
/* oklch */ color: oklch(62.3% 0.219 330.6);
Tailwind
colors: {
  custom: {
    50: '#df83d5',
    500: '#cc45c3',
    950: '#000000',
  },
}
SCSS
$custom: #cc45c3;
$custom-light: #df83d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc45c3",
  "rgb": {
    "r": 204,
    "g": 69,
    "b": 195
  },
  "hsl": {
    "h": 304,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.6234,
    "c": 0.21945,
    "h": 330.6
  },
  "luminance": 0.21034
}

Semantic roles & 50–950 ramp

primary
#CC45C3
secondary
#99D39D
accent
#E05248
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CC45C3

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

Preview Lab → · Contrast checker → · Palette generator →

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