#CC54BD#CC54BD

#CC54BD is a light, vivid purple. Relative luminance 0.229; OKLCH L 63.7% C 0.195 H 332.7°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#CC54BD
RGBrgb(204, 84, 189)
HSLhsl(308, 54%, 56%)
HSVhsv(308, 59%, 80%)
CMYKcmyk(0%, 58.8%, 7.4%, 20%)
CIE-LABlab(54.92, 60.23, -32.62)
CIE-LCHlch(54.92, 68.49, 331.56°)
OKLaboklab(63.65% 0.1729 -0.0891)
OKLCHoklch(63.65% 0.195 332.7)
XYZxyz(37.2575, 22.8548, 50.5833)
Luminance0.2285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC54BD #54CC63
analogous
#9F54CC #CC54BD #CC5481
triadic
#CC54BD #BDCC54 #54BDCC
tetradic
#CC54BD #CC9F54 #54CC63 #5481CC
square
#CC54BD #CC9F54 #54CC63 #5481CC
split-complementary
#CC54BD #81CC54 #54CC9F
monochromatic
#802674 #AF349F #CC54BD #DA83CF #E8B2E1

Accessibility & contrast

On white

3.77
#CC54BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#CC54BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC54BD
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC54BD#FFFFFF#000000##000000
##CC54BD1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5078C0
Deuteranopia (green-blind)
#768ABA
Tritanopia (blue-blind)
#D45D81
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cc54bd;
/* rgb */ color: rgb(204, 84, 189);
/* oklch */ color: oklch(63.7% 0.195 332.7);
Tailwind
colors: {
  custom: {
    50: '#de8bd1',
    500: '#cc54bd',
    950: '#000000',
  },
}
SCSS
$custom: #cc54bd;
$custom-light: #de8bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc54bd",
  "rgb": {
    "r": 204,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 307.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63655,
    "c": 0.19453,
    "h": 332.7
  },
  "luminance": 0.22852
}

Semantic roles & 50–950 ramp

primary
#CC54BD
secondary
#A5D7AB
accent
#DD5D4A
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CC54BD

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

Preview Lab → · Contrast checker → · Palette generator →

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