#CC3AB6#CC3AB6

#CC3AB6 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.7% C 0.223 H 334.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CC3AB6
RGBrgb(204, 58, 182)
HSLhsl(309, 59%, 51%)
HSVhsv(309, 72%, 80%)
CMYKcmyk(0%, 71.6%, 10.8%, 20%)
CIE-LABlab(50.97, 69.23, -34.74)
CIE-LCHlch(50.97, 77.46, 333.35°)
OKLaboklab(60.68% 0.2016 -0.0949)
OKLCHoklch(60.68% 0.223 334.8)
XYZxyz(34.8588, 19.2439, 46.1254)
Luminance0.1924 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3AB6 #3ACC50
analogous
#993ACC #CC3AB6 #CC3A6D
triadic
#CC3AB6 #B6CC3A #3AB6CC
tetradic
#CC3AB6 #CC993A #3ACC50 #3A6DCC
square
#CC3AB6 #CC993A #3ACC50 #3A6DCC
split-complementary
#CC3AB6 #6DCC3A #3ACC99
monochromatic
#6F1D63 #A0298E #CC3AB6 #D96BC8 #E59BDA

Accessibility & contrast

On white

4.33
#CC3AB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#CC3AB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3AB6
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3AB6#FFFFFF#000000##000000
##CC3AB61.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#396CB9
Deuteranopia (green-blind)
#6D81B2
Tritanopia (blue-blind)
#D64674
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc3ab6;
/* rgb */ color: rgb(204, 58, 182);
/* oklch */ color: oklch(60.7% 0.223 334.8);
Tailwind
colors: {
  custom: {
    50: '#df7ecc',
    500: '#cc3ab6',
    950: '#000000',
  },
}
SCSS
$custom: #cc3ab6;
$custom-light: #df7ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3ab6",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 182
  },
  "hsl": {
    "h": 309.041,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60677,
    "c": 0.22287,
    "h": 334.8
  },
  "luminance": 0.19241
}

Semantic roles & 50–950 ramp

primary
#CC3AB6
secondary
#91D19A
accent
#E25D46
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC3AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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