#CC48B7#CC48B7

#CC48B7 is a light, highly saturated purple. Relative luminance 0.209; OKLCH L 62.0% C 0.207 H 334.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#CC48B7
RGBrgb(204, 72, 183)
HSLhsl(310, 56%, 54%)
HSVhsv(310, 65%, 80%)
CMYKcmyk(0%, 64.7%, 10.3%, 20%)
CIE-LABlab(52.83, 64.29, -32.41)
CIE-LCHlch(52.83, 71.99, 333.25°)
OKLaboklab(62.04% 0.1867 -0.0884)
OKLCHoklch(62.04% 0.207 334.7)
XYZxyz(35.7667, 20.8939, 46.9397)
Luminance0.2089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC48B7 #48CC5D
analogous
#9F48CC #CC48B7 #CC4875
triadic
#CC48B7 #B7CC48 #48B7CC
tetradic
#CC48B7 #CC9F48 #48CC5D #4875CC
square
#CC48B7 #CC9F48 #48CC5D #4875CC
split-complementary
#CC48B7 #75CC48 #48CC9F
monochromatic
#78216A #A82F95 #CC48B7 #D978CA #E7A8DD

Accessibility & contrast

On white

4.06
#CC48B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#CC48B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC48B7
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC48B7#FFFFFF#000000##000000
##CC48B71.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4772BA
Deuteranopia (green-blind)
#7285B4
Tritanopia (blue-blind)
#D55179
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc48b7;
/* rgb */ color: rgb(204, 72, 183);
/* oklch */ color: oklch(62.0% 0.207 334.7);
Tailwind
colors: {
  custom: {
    50: '#df84cd',
    500: '#cc48b7',
    950: '#000000',
  },
}
SCSS
$custom: #cc48b7;
$custom-light: #df84cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc48b7",
  "rgb": {
    "r": 204,
    "g": 72,
    "b": 183
  },
  "hsl": {
    "h": 309.545,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.62041,
    "c": 0.20659,
    "h": 334.7
  },
  "luminance": 0.20891
}

Semantic roles & 50–950 ramp

primary
#CC48B7
secondary
#9CD4A5
accent
#E06048
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC48B7

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

Preview Lab → · Contrast checker → · Palette generator →

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