#CC54BC#CC54BC

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

Color values

HEX#CC54BC
RGBrgb(204, 84, 188)
HSLhsl(308, 54%, 56%)
HSVhsv(308, 59%, 80%)
CMYKcmyk(0%, 58.8%, 7.8%, 20%)
CIE-LABlab(54.88, 60.07, -32.11)
CIE-LCHlch(54.88, 68.11, 331.87°)
OKLaboklab(63.61% 0.1728 -0.0876)
OKLCHoklch(63.61% 0.194 333.1)
XYZxyz(37.1493, 22.8116, 50.0136)
Luminance0.2281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC54BC #54CC64
analogous
#A054CC #CC54BC #CC5480
triadic
#CC54BC #BCCC54 #54BCCC
tetradic
#CC54BC #CCA054 #54CC64 #5480CC
square
#CC54BC #CCA054 #54CC64 #5480CC
split-complementary
#CC54BC #80CC54 #54CCA0
monochromatic
#802674 #AF349E #CC54BC #DA83CE #E8B2E1

Accessibility & contrast

On white

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

On black

5.56
#CC54BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC54BC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC54BC#FFFFFF#000000##000000
##CC54BC1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5178BF
Deuteranopia (green-blind)
#778AB9
Tritanopia (blue-blind)
#D45D80
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cc54bc;
/* rgb */ color: rgb(204, 84, 188);
/* oklch */ color: oklch(63.6% 0.194 333.1);
Tailwind
colors: {
  custom: {
    50: '#de8bd0',
    500: '#cc54bc',
    950: '#000000',
  },
}
SCSS
$custom: #cc54bc;
$custom-light: #de8bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc54bc",
  "rgb": {
    "r": 204,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 308,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63608,
    "c": 0.19373,
    "h": 333.1
  },
  "luminance": 0.22809
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC54BC

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

Preview Lab → · Contrast checker → · Palette generator →

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