#CC5AC0#CC5AC0

#CC5AC0 is a light, vivid purple. Relative luminance 0.240; OKLCH L 64.5% C 0.188 H 331.7°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#CC5AC0
RGBrgb(204, 90, 192)
HSLhsl(306, 53%, 58%)
HSVhsv(306, 56%, 80%)
CMYKcmyk(0%, 55.9%, 5.9%, 20%)
CIE-LABlab(56.05, 58.03, -32.59)
CIE-LCHlch(56.05, 66.56, 330.68°)
OKLaboklab(64.52% 0.1656 -0.089)
OKLCHoklch(64.52% 0.188 331.7)
XYZxyz(38.0723, 23.9581, 52.4780)
Luminance0.2396 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5AC0 #5ACC66
analogous
#9F5ACC #CC5AC0 #CC5A87
triadic
#CC5AC0 #C0CC5A #5AC0CC
tetradic
#CC5AC0 #CC9F5A #5ACC66 #5A87CC
square
#CC5AC0 #CC9F5A #5ACC66 #5A87CC
split-complementary
#CC5AC0 #87CC5A #5ACC9F
monochromatic
#83297A #B237A5 #CC5AC0 #DA89D2 #E9B7E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC5AC0#FFFFFF#000000##000000
##CC5AC01.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)
#557CC3
Deuteranopia (green-blind)
#798CBD
Tritanopia (blue-blind)
#D46385
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cc5ac0;
/* rgb */ color: rgb(204, 90, 192);
/* oklch */ color: oklch(64.5% 0.188 331.7);
Tailwind
colors: {
  custom: {
    50: '#de8ed3',
    500: '#cc5ac0',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ac0;
$custom-light: #de8ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ac0",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 192
  },
  "hsl": {
    "h": 306.316,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64523,
    "c": 0.18802,
    "h": 331.7
  },
  "luminance": 0.23955
}

Semantic roles & 50–950 ramp

primary
#CC5AC0
secondary
#AAD8AF
accent
#DC5B4C
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CC5AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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