#CC3AB5#CC3AB5

#CC3AB5 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.6% C 0.222 H 335.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#CC3AB5
RGBrgb(204, 58, 181)
HSLhsl(309, 59%, 51%)
HSVhsv(309, 72%, 80%)
CMYKcmyk(0%, 71.6%, 11.3%, 20%)
CIE-LABlab(50.92, 69.08, -34.23)
CIE-LCHlch(50.92, 77.10, 333.64°)
OKLaboklab(60.63% 0.2016 -0.0935)
OKLCHoklch(60.63% 0.222 335.1)
XYZxyz(34.7558, 19.2027, 45.5831)
Luminance0.1920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3AB5 #3ACC51
analogous
#9A3ACC #CC3AB5 #CC3A6C
triadic
#CC3AB5 #B5CC3A #3AB5CC
tetradic
#CC3AB5 #CC9A3A #3ACC51 #3A6CCC
square
#CC3AB5 #CC9A3A #3ACC51 #3A6CCC
split-complementary
#CC3AB5 #6CCC3A #3ACC9A
monochromatic
#6F1D62 #A0298D #CC3AB5 #D96BC7 #E59BDA

Accessibility & contrast

On white

4.34
#CC3AB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#CC3AB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3AB5
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3AB5#FFFFFF#000000##000000
##CC3AB51.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A6BB8
Deuteranopia (green-blind)
#6D81B1
Tritanopia (blue-blind)
#D64573
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc3ab5;
/* rgb */ color: rgb(204, 58, 181);
/* oklch */ color: oklch(60.6% 0.222 335.1);
Tailwind
colors: {
  custom: {
    50: '#df7dcb',
    500: '#cc3ab5',
    950: '#000000',
  },
}
SCSS
$custom: #cc3ab5;
$custom-light: #df7dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3ab5",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 181
  },
  "hsl": {
    "h": 309.452,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60626,
    "c": 0.22218,
    "h": 335.1
  },
  "luminance": 0.192
}

Semantic roles & 50–950 ramp

primary
#CC3AB5
secondary
#91D19B
accent
#E25E46
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC3AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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