#CC54BB#CC54BB

#CC54BB is a light, vivid purple. Relative luminance 0.228; OKLCH L 63.6% C 0.193 H 333.5°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#CC54BB
RGBrgb(204, 84, 187)
HSLhsl(309, 54%, 56%)
HSVhsv(309, 59%, 80%)
CMYKcmyk(0%, 58.8%, 8.3%, 20%)
CIE-LABlab(54.83, 59.90, -31.60)
CIE-LCHlch(54.83, 67.73, 332.19°)
OKLaboklab(63.56% 0.1726 -0.0862)
OKLCHoklch(63.56% 0.193 333.5)
XYZxyz(37.0419, 22.7686, 49.4479)
Luminance0.2277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC54BB #54CC65
analogous
#A154CC #CC54BB #CC547F
triadic
#CC54BB #BBCC54 #54BBCC
tetradic
#CC54BB #CCA154 #54CC65 #547FCC
square
#CC54BB #CCA154 #54CC65 #547FCC
split-complementary
#CC54BB #7FCC54 #54CCA1
monochromatic
#802673 #AF349D #CC54BB #DA83CE #E8B2E0

Accessibility & contrast

On white

3.78
#CC54BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#CC54BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC54BB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC54BB#FFFFFF#000000##000000
##CC54BB1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5278BE
Deuteranopia (green-blind)
#778AB8
Tritanopia (blue-blind)
#D55D80
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cc54bb;
/* rgb */ color: rgb(204, 84, 187);
/* oklch */ color: oklch(63.6% 0.193 333.5);
Tailwind
colors: {
  custom: {
    50: '#de8bcf',
    500: '#cc54bb',
    950: '#000000',
  },
}
SCSS
$custom: #cc54bb;
$custom-light: #de8bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc54bb",
  "rgb": {
    "r": 204,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 308.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63561,
    "c": 0.19295,
    "h": 333.5
  },
  "luminance": 0.22766
}

Semantic roles & 50–950 ramp

primary
#CC54BB
secondary
#A5D7AC
accent
#DD5F4A
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CC54BB

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

Preview Lab → · Contrast checker → · Palette generator →

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