#CC5ABE#CC5ABE

#CC5ABE is a light, vivid purple. Relative luminance 0.239; OKLCH L 64.4% C 0.186 H 332.5°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#CC5ABE
RGBrgb(204, 90, 190)
HSLhsl(307, 53%, 58%)
HSVhsv(307, 56%, 80%)
CMYKcmyk(0%, 55.9%, 6.9%, 20%)
CIE-LABlab(55.96, 57.70, -31.58)
CIE-LCHlch(55.96, 65.78, 331.31°)
OKLaboklab(64.43% 0.1653 -0.0862)
OKLCHoklch(64.43% 0.186 332.5)
XYZxyz(37.8522, 23.8700, 51.3189)
Luminance0.2387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5ABE #5ACC68
analogous
#A15ACC #CC5ABE #CC5A85
triadic
#CC5ABE #BECC5A #5ABECC
tetradic
#CC5ABE #CCA15A #5ACC68 #5A85CC
square
#CC5ABE #CCA15A #5ACC68 #5A85CC
split-complementary
#CC5ABE #85CC5A #5ACCA1
monochromatic
#832978 #B237A3 #CC5ABE #DA89D0 #E9B7E3

Accessibility & contrast

On white

3.64
#CC5ABE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#CC5ABE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5ABE
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5ABE#FFFFFF#000000##000000
##CC5ABE1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#567CC1
Deuteranopia (green-blind)
#798CBB
Tritanopia (blue-blind)
#D46384
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cc5abe;
/* rgb */ color: rgb(204, 90, 190);
/* oklch */ color: oklch(64.4% 0.186 332.5);
Tailwind
colors: {
  custom: {
    50: '#de8ed2',
    500: '#cc5abe',
    950: '#000000',
  },
}
SCSS
$custom: #cc5abe;
$custom-light: #de8ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5abe",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 307.368,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64429,
    "c": 0.1864,
    "h": 332.5
  },
  "luminance": 0.23867
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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