#CC5ABC#CC5ABC

#CC5ABC is a light, vivid purple. Relative luminance 0.238; OKLCH L 64.3% C 0.185 H 333.2°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#CC5ABC
RGBrgb(204, 90, 188)
HSLhsl(308, 53%, 58%)
HSVhsv(308, 56%, 80%)
CMYKcmyk(0%, 55.9%, 7.8%, 20%)
CIE-LABlab(55.87, 57.37, -30.57)
CIE-LCHlch(55.87, 65.01, 331.95°)
OKLaboklab(64.34% 0.165 -0.0833)
OKLCHoklch(64.34% 0.185 333.2)
XYZxyz(37.6351, 23.7832, 50.1756)
Luminance0.2378 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5ABC #5ACC6A
analogous
#A35ACC #CC5ABC #CC5A83
triadic
#CC5ABC #BCCC5A #5ABCCC
tetradic
#CC5ABC #CCA35A #5ACC6A #5A83CC
square
#CC5ABC #CCA35A #5ACC6A #5A83CC
split-complementary
#CC5ABC #83CC5A #5ACCA3
monochromatic
#832976 #B237A1 #CC5ABC #DA89CF #E9B7E2

Accessibility & contrast

On white

3.65
#CC5ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#CC5ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5ABC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5ABC#FFFFFF#000000##000000
##CC5ABC1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#587BBF
Deuteranopia (green-blind)
#7A8CB9
Tritanopia (blue-blind)
#D46283
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cc5abc;
/* rgb */ color: rgb(204, 90, 188);
/* oklch */ color: oklch(64.3% 0.185 333.2);
Tailwind
colors: {
  custom: {
    50: '#de8ed0',
    500: '#cc5abc',
    950: '#000000',
  },
}
SCSS
$custom: #cc5abc;
$custom-light: #de8ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5abc",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 308.421,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64336,
    "c": 0.18479,
    "h": 333.2
  },
  "luminance": 0.23781
}

Semantic roles & 50–950 ramp

primary
#CC5ABC
secondary
#AAD8B0
accent
#DC604C
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D14
muted
#837E82

Preview Lab

Preview with #CC5ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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