#CC45C2#CC45C2

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

Color values

HEX#CC45C2
RGBrgb(204, 69, 194)
HSLhsl(304, 57%, 54%)
HSVhsv(304, 66%, 80%)
CMYKcmyk(0%, 66.2%, 4.9%, 20%)
CIE-LABlab(52.94, 67.16, -38.61)
CIE-LCHlch(52.94, 77.47, 330.11°)
OKLaboklab(62.29% 0.1912 -0.1061)
OKLCHoklch(62.29% 0.219 331)
XYZxyz(36.7675, 20.9914, 53.1437)
Luminance0.2099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC45C2 #45CC4F
analogous
#9245CC #CC45C2 #CC457E
triadic
#CC45C2 #C2CC45 #45C2CC
tetradic
#CC45C2 #CC9245 #45CC4F #457ECC
square
#CC45C2 #CC9245 #45CC4F #457ECC
split-complementary
#CC45C2 #7ECC45 #45CC92
monochromatic
#762070 #A62E9D #CC45C2 #D975D2 #E6A5E2

Accessibility & contrast

On white

4.04
#CC45C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#CC45C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC45C2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC45C2#FFFFFF#000000##000000
##CC45C21.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc45c2;
/* rgb */ color: rgb(204, 69, 194);
/* oklch */ color: oklch(62.3% 0.219 331.0);
Tailwind
colors: {
  custom: {
    50: '#df83d5',
    500: '#cc45c2',
    950: '#000000',
  },
}
SCSS
$custom: #cc45c2;
$custom-light: #df83d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc45c2",
  "rgb": {
    "r": 204,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 304.444,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.62288,
    "c": 0.21869,
    "h": 331
  },
  "luminance": 0.20989
}

Semantic roles & 50–950 ramp

primary
#CC45C2
secondary
#99D39E
accent
#E05348
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CC45C2

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

Preview Lab → · Contrast checker → · Palette generator →

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