#CC48C1#CC48C1

#CC48C1 is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 62.5% C 0.214 H 331.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#CC48C1
RGBrgb(204, 72, 193)
HSLhsl(305, 56%, 54%)
HSVhsv(305, 65%, 80%)
CMYKcmyk(0%, 64.7%, 5.4%, 20%)
CIE-LABlab(53.30, 65.85, -37.46)
CIE-LCHlch(53.30, 75.76, 330.37°)
OKLaboklab(62.54% 0.1878 -0.1029)
OKLCHoklch(62.54% 0.214 331.3)
XYZxyz(36.8448, 21.3251, 52.6173)
Luminance0.2132 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC48C1 #48CC53
analogous
#9548CC #CC48C1 #CC487F
triadic
#CC48C1 #C1CC48 #48C1CC
tetradic
#CC48C1 #CC9548 #48CC53 #487FCC
square
#CC48C1 #CC9548 #48CC53 #487FCC
split-complementary
#CC48C1 #7FCC48 #48CC95
monochromatic
#782171 #A82F9E #CC48C1 #D978D1 #E7A8E1

Accessibility & contrast

On white

3.99
#CC48C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#CC48C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC48C1
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC48C1#FFFFFF#000000##000000
##CC48C11.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4073C5
Deuteranopia (green-blind)
#6E86BE
Tritanopia (blue-blind)
#D4557E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc48c1;
/* rgb */ color: rgb(204, 72, 193);
/* oklch */ color: oklch(62.5% 0.214 331.3);
Tailwind
colors: {
  custom: {
    50: '#df84d4',
    500: '#cc48c1',
    950: '#000000',
  },
}
SCSS
$custom: #cc48c1;
$custom-light: #df84d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc48c1",
  "rgb": {
    "r": 204,
    "g": 72,
    "b": 193
  },
  "hsl": {
    "h": 305,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.62536,
    "c": 0.21412,
    "h": 331.3
  },
  "luminance": 0.21322
}

Semantic roles & 50–950 ramp

primary
#CC48C1
secondary
#9CD4A1
accent
#E05548
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CC48C1

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

Preview Lab → · Contrast checker → · Palette generator →

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