#CC5ABA#CC5ABA

#CC5ABA is a light, vivid purple. Relative luminance 0.237; OKLCH L 64.2% C 0.183 H 334.0°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#CC5ABA
RGBrgb(204, 90, 186)
HSLhsl(309, 53%, 58%)
HSVhsv(309, 56%, 80%)
CMYKcmyk(0%, 55.9%, 8.8%, 20%)
CIE-LABlab(55.78, 57.05, -29.55)
CIE-LCHlch(55.78, 64.25, 332.62°)
OKLaboklab(64.24% 0.1646 -0.0804)
OKLCHoklch(64.24% 0.183 334)
XYZxyz(37.4210, 23.6976, 49.0480)
Luminance0.2369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5ABA #5ACC6C
analogous
#A55ACC #CC5ABA #CC5A81
triadic
#CC5ABA #BACC5A #5ABACC
tetradic
#CC5ABA #CCA55A #5ACC6C #5A81CC
square
#CC5ABA #CCA55A #5ACC6C #5A81CC
split-complementary
#CC5ABA #81CC5A #5ACCA5
monochromatic
#832975 #B2379E #CC5ABA #DA89CE #E9B7E1

Accessibility & contrast

On white

3.66
#CC5ABA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#CC5ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5ABA
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5ABA#FFFFFF#000000##000000
##CC5ABA1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#597BBD
Deuteranopia (green-blind)
#7B8CB7
Tritanopia (blue-blind)
#D56182
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cc5aba;
/* rgb */ color: rgb(204, 90, 186);
/* oklch */ color: oklch(64.2% 0.183 334.0);
Tailwind
colors: {
  custom: {
    50: '#de8ecf',
    500: '#cc5aba',
    950: '#000000',
  },
}
SCSS
$custom: #cc5aba;
$custom-light: #de8ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5aba",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 309.474,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64244,
    "c": 0.1832,
    "h": 334
  },
  "luminance": 0.23695
}

Semantic roles & 50–950 ramp

primary
#CC5ABA
secondary
#AAD8B1
accent
#DC624C
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D13
muted
#837E82

Preview Lab

Preview with #CC5ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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