#CC54C8#CC54C8

#CC54C8 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.2% C 0.203 H 329.0°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#CC54C8
RGBrgb(204, 84, 200)
HSLhsl(302, 54%, 56%)
HSVhsv(302, 59%, 80%)
CMYKcmyk(0%, 58.8%, 2%, 20%)
CIE-LABlab(55.43, 62.05, -38.14)
CIE-LCHlch(55.43, 72.83, 328.42°)
OKLaboklab(64.19% 0.1743 -0.1049)
OKLCHoklch(64.19% 0.203 329)
XYZxyz(38.4971, 23.3507, 57.1118)
Luminance0.2335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC54C8 #54CC58
analogous
#9454CC #CC54C8 #CC548C
triadic
#CC54C8 #C8CC54 #54C8CC
tetradic
#CC54C8 #CC9454 #54CC58 #548CCC
square
#CC54C8 #CC9454 #54CC58 #548CCC
split-complementary
#CC54C8 #8CCC54 #54CC94
monochromatic
#80267D #AF34AB #CC54C8 #DA83D7 #E8B2E6

Accessibility & contrast

On white

3.70
#CC54C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#CC54C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC54C8
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC54C8#FFFFFF#000000##000000
##CC54C81.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#497ACC
Deuteranopia (green-blind)
#718AC5
Tritanopia (blue-blind)
#D36186
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cc54c8;
/* rgb */ color: rgb(204, 84, 200);
/* oklch */ color: oklch(64.2% 0.203 329.0);
Tailwind
colors: {
  custom: {
    50: '#de8bd9',
    500: '#cc54c8',
    950: '#000000',
  },
}
SCSS
$custom: #cc54c8;
$custom-light: #de8bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc54c8",
  "rgb": {
    "r": 204,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 302,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64193,
    "c": 0.2034,
    "h": 329
  },
  "luminance": 0.23348
}

Semantic roles & 50–950 ramp

primary
#CC54C8
secondary
#A5D7A7
accent
#DD4F4A
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CC54C8

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

Preview Lab → · Contrast checker → · Palette generator →

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