#CC3AB9#CC3AB9

#CC3AB9 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.8% C 0.225 H 333.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CC3AB9
RGBrgb(204, 58, 185)
HSLhsl(308, 59%, 51%)
HSVhsv(308, 72%, 80%)
CMYKcmyk(0%, 71.6%, 9.3%, 20%)
CIE-LABlab(51.12, 69.67, -36.26)
CIE-LCHlch(51.12, 78.54, 332.51°)
OKLaboklab(60.83% 0.2019 -0.0993)
OKLCHoklch(60.83% 0.225 333.8)
XYZxyz(35.1721, 19.3693, 47.7757)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3AB9 #3ACC4D
analogous
#963ACC #CC3AB9 #CC3A70
triadic
#CC3AB9 #B9CC3A #3AB9CC
tetradic
#CC3AB9 #CC963A #3ACC4D #3A70CC
square
#CC3AB9 #CC963A #3ACC4D #3A70CC
split-complementary
#CC3AB9 #70CC3A #3ACC96
monochromatic
#6F1D64 #A02990 #CC3AB9 #D96BCA #E59BDC

Accessibility & contrast

On white

4.31
#CC3AB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#CC3AB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3AB9
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3AB9#FFFFFF#000000##000000
##CC3AB91.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#366CBD
Deuteranopia (green-blind)
#6B81B5
Tritanopia (blue-blind)
#D54776
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc3ab9;
/* rgb */ color: rgb(204, 58, 185);
/* oklch */ color: oklch(60.8% 0.225 333.8);
Tailwind
colors: {
  custom: {
    50: '#df7ece',
    500: '#cc3ab9',
    950: '#000000',
  },
}
SCSS
$custom: #cc3ab9;
$custom-light: #df7ece;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3ab9",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 185
  },
  "hsl": {
    "h": 307.808,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60828,
    "c": 0.22498,
    "h": 333.8
  },
  "luminance": 0.19366
}

Semantic roles & 50–950 ramp

primary
#CC3AB9
secondary
#91D199
accent
#E25A46
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC3AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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