#CC54C2#CC54C2

#CC54C2 is a light, vivid purple. Relative luminance 0.231; OKLCH L 63.9% C 0.199 H 331.0°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#CC54C2
RGBrgb(204, 84, 194)
HSLhsl(305, 54%, 56%)
HSVhsv(305, 59%, 80%)
CMYKcmyk(0%, 58.8%, 4.9%, 20%)
CIE-LABlab(55.15, 61.04, -35.14)
CIE-LCHlch(55.15, 70.44, 330.07°)
OKLaboklab(63.9% 0.1736 -0.0963)
OKLCHoklch(63.9% 0.199 331)
XYZxyz(37.8096, 23.0757, 53.4911)
Luminance0.2307 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC54C2 #54CC5E
analogous
#9A54CC #CC54C2 #CC5486
triadic
#CC54C2 #C2CC54 #54C2CC
tetradic
#CC54C2 #CC9A54 #54CC5E #5486CC
square
#CC54C2 #CC9A54 #54CC5E #5486CC
split-complementary
#CC54C2 #86CC54 #54CC9A
monochromatic
#802678 #AF34A4 #CC54C2 #DA83D3 #E8B2E4

Accessibility & contrast

On white

3.74
#CC54C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#CC54C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC54C2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC54C2#FFFFFF#000000##000000
##CC54C21.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D79C5
Deuteranopia (green-blind)
#748ABF
Tritanopia (blue-blind)
#D35F83
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cc54c2;
/* rgb */ color: rgb(204, 84, 194);
/* oklch */ color: oklch(63.9% 0.199 331.0);
Tailwind
colors: {
  custom: {
    50: '#de8bd5',
    500: '#cc54c2',
    950: '#000000',
  },
}
SCSS
$custom: #cc54c2;
$custom-light: #de8bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc54c2",
  "rgb": {
    "r": 204,
    "g": 84,
    "b": 194
  },
  "hsl": {
    "h": 305,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63896,
    "c": 0.19851,
    "h": 331
  },
  "luminance": 0.23073
}

Semantic roles & 50–950 ramp

primary
#CC54C2
secondary
#A5D7A9
accent
#DD574A
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CC54C2

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

Preview Lab → · Contrast checker → · Palette generator →

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