#CC54D4#CC54D4

#CC54D4 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.8% C 0.214 H 325.2°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#CC54D4
RGBrgb(204, 84, 212)
HSLhsl(296, 60%, 58%)
HSVhsv(296, 60%, 83%)
CMYKcmyk(3.8%, 60.4%, 0%, 16.9%)
CIE-LABlab(56.02, 64.12, -44.05)
CIE-LCHlch(56.02, 77.79, 325.51°)
OKLaboklab(64.82% 0.1752 -0.122)
OKLCHoklch(64.82% 0.214 325.2)
XYZxyz(39.9549, 23.9338, 64.7898)
Luminance0.2393 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC54D4 #5CD454
analogous
#8C54D4 #CC54D4 #D4549C
triadic
#CC54D4 #D4CC54 #54D4CC
tetradic
#CC54D4 #D48C54 #5CD454 #549CD4
square
#CC54D4 #D48C54 #5CD454 #549CD4
split-complementary
#CC54D4 #9CD454 #54D48C
monochromatic
#84238B #B32FBC #CC54D4 #DB85E0 #E9B6ED

Accessibility & contrast

On white

3.63
#CC54D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#CC54D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC54D4
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC54D4#FFFFFF#000000##000000
##CC54D41.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7DD8
Deuteranopia (green-blind)
#6B8BD1
Tritanopia (blue-blind)
#D0668C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cc54d4;
/* rgb */ color: rgb(204, 84, 212);
/* oklch */ color: oklch(64.8% 0.214 325.2);
Tailwind
colors: {
  custom: {
    50: '#df8be2',
    500: '#cc54d4',
    950: '#000000',
  },
}
SCSS
$custom: #cc54d4;
$custom-light: #df8be2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc54d4",
  "rgb": {
    "r": 204,
    "g": 84,
    "b": 212
  },
  "hsl": {
    "h": 296.25,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64815,
    "c": 0.21351,
    "h": 325.2
  },
  "luminance": 0.23931
}

Semantic roles & 50–950 ramp

primary
#CC54D4
secondary
#ACDBA8
accent
#E3454F
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #CC54D4

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

Preview Lab → · Contrast checker → · Palette generator →

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