#CC45C5#CC45C5

#CC45C5 is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.4% C 0.221 H 330.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#CC45C5
RGBrgb(204, 69, 197)
HSLhsl(303, 57%, 54%)
HSVhsv(303, 66%, 80%)
CMYKcmyk(0%, 66.2%, 3.4%, 20%)
CIE-LABlab(53.09, 67.64, -40.10)
CIE-LCHlch(53.09, 78.63, 329.34°)
OKLaboklab(62.44% 0.1914 -0.1105)
OKLCHoklch(62.44% 0.221 330)
XYZxyz(37.1078, 21.1276, 54.9361)
Luminance0.2112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC45C5 #45CC4C
analogous
#8F45CC #CC45C5 #CC4581
triadic
#CC45C5 #C5CC45 #45C5CC
tetradic
#CC45C5 #CC8F45 #45CC4C #4581CC
square
#CC45C5 #CC8F45 #45CC4C #4581CC
split-complementary
#CC45C5 #81CC45 #45CC8F
monochromatic
#762072 #A62EA0 #CC45C5 #D975D4 #E6A5E3

Accessibility & contrast

On white

4.02
#CC45C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#CC45C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC45C5
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC45C5#FFFFFF#000000##000000
##CC45C51.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3873C9
Deuteranopia (green-blind)
#6B85C2
Tritanopia (blue-blind)
#D3557F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc45c5;
/* rgb */ color: rgb(204, 69, 197);
/* oklch */ color: oklch(62.4% 0.221 330.0);
Tailwind
colors: {
  custom: {
    50: '#df83d7',
    500: '#cc45c5',
    950: '#000000',
  },
}
SCSS
$custom: #cc45c5;
$custom-light: #df83d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc45c5",
  "rgb": {
    "r": 204,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 303.111,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.62444,
    "c": 0.22099,
    "h": 330
  },
  "luminance": 0.21125
}

Semantic roles & 50–950 ramp

primary
#CC45C5
secondary
#99D39C
accent
#E04F48
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CC45C5

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

Preview Lab → · Contrast checker → · Palette generator →

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