#CC54CD#CC54CD

#CC54CD is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.4% C 0.208 H 327.3°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#CC54CD
RGBrgb(204, 84, 205)
HSLhsl(300, 55%, 57%)
HSVhsv(300, 59%, 80%)
CMYKcmyk(0.5%, 59%, 0%, 19.6%)
CIE-LABlab(55.67, 62.90, -40.61)
CIE-LCHlch(55.67, 74.87, 327.15°)
OKLaboklab(64.45% 0.1747 -0.112)
OKLCHoklch(64.45% 0.208 327.3)
XYZxyz(39.0910, 23.5882, 60.2398)
Luminance0.2359 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC54CD #55CD54
analogous
#9054CD #CC54CD #CD5492
triadic
#CC54CD #CDCC54 #54CDCC
tetradic
#CC54CD #CD9054 #55CD54 #5492CD
square
#CC54CD #CD9054 #55CD54 #5492CD
split-complementary
#CC54CD #92CD54 #54CD90
monochromatic
#802681 #AF34B0 #CC54CD #DA83DB #E8B3E9

Accessibility & contrast

On white

3.67
#CC54CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#CC54CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC54CD
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC54CD#FFFFFF#000000##000000
##CC54CD1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#457BD1
Deuteranopia (green-blind)
#6F8BCA
Tritanopia (blue-blind)
#D26389
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cc54cd;
/* rgb */ color: rgb(204, 84, 205);
/* oklch */ color: oklch(64.4% 0.208 327.3);
Tailwind
colors: {
  custom: {
    50: '#df8bdc',
    500: '#cc54cd',
    950: '#000000',
  },
}
SCSS
$custom: #cc54cd;
$custom-light: #df8bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc54cd",
  "rgb": {
    "r": 204,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 299.504,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64448,
    "c": 0.20757,
    "h": 327.3
  },
  "luminance": 0.23586
}

Semantic roles & 50–950 ramp

primary
#CC54CD
secondary
#A6D7A6
accent
#DE4A4B
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CC54CD

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

Preview Lab → · Contrast checker → · Palette generator →

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