#CC51C3#CC51C3

#CC51C3 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 63.6% C 0.204 H 330.6°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#CC51C3
RGBrgb(204, 81, 195)
HSLhsl(304, 55%, 56%)
HSVhsv(304, 60%, 80%)
CMYKcmyk(0%, 60.3%, 4.4%, 20%)
CIE-LABlab(54.73, 62.50, -36.38)
CIE-LCHlch(54.73, 72.32, 329.80°)
OKLaboklab(63.6% 0.1774 -0.0998)
OKLCHoklch(63.6% 0.204 330.6)
XYZxyz(37.6944, 22.6650, 54.0086)
Luminance0.2266 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC51C3 #51CC5A
analogous
#9751CC #CC51C3 #CC5185
triadic
#CC51C3 #C3CC51 #51C3CC
tetradic
#CC51C3 #CC9751 #51CC5A #5185CC
square
#CC51C3 #CC9751 #51CC5A #5185CC
split-complementary
#CC51C3 #85CC51 #51CC97
monochromatic
#7E2577 #AD33A4 #CC51C3 #DA80D3 #E8B0E4

Accessibility & contrast

On white

3.80
#CC51C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#CC51C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC51C3
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC51C3#FFFFFF#000000##000000
##CC51C31.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4978C6
Deuteranopia (green-blind)
#7289C0
Tritanopia (blue-blind)
#D35D83
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cc51c3;
/* rgb */ color: rgb(204, 81, 195);
/* oklch */ color: oklch(63.6% 0.204 330.6);
Tailwind
colors: {
  custom: {
    50: '#df89d5',
    500: '#cc51c3',
    950: '#000000',
  },
}
SCSS
$custom: #cc51c3;
$custom-light: #df89d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc51c3",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 195
  },
  "hsl": {
    "h": 304.39,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63601,
    "c": 0.20357,
    "h": 330.6
  },
  "luminance": 0.22662
}

Semantic roles & 50–950 ramp

primary
#CC51C3
secondary
#A3D6A7
accent
#DE554A
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CC51C3

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

Preview Lab → · Contrast checker → · Palette generator →

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