#CC3AB8#CC3AB8

#CC3AB8 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.8% C 0.224 H 334.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#CC3AB8
RGBrgb(204, 58, 184)
HSLhsl(308, 59%, 51%)
HSVhsv(308, 72%, 80%)
CMYKcmyk(0%, 71.6%, 9.8%, 20%)
CIE-LABlab(51.07, 69.53, -35.75)
CIE-LCHlch(51.07, 78.18, 332.79°)
OKLaboklab(60.78% 0.2018 -0.0979)
OKLCHoklch(60.78% 0.224 334.1)
XYZxyz(35.0669, 19.3272, 47.2217)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3AB8 #3ACC4E
analogous
#973ACC #CC3AB8 #CC3A6F
triadic
#CC3AB8 #B8CC3A #3AB8CC
tetradic
#CC3AB8 #CC973A #3ACC4E #3A6FCC
square
#CC3AB8 #CC973A #3ACC4E #3A6FCC
split-complementary
#CC3AB8 #6FCC3A #3ACC97
monochromatic
#6F1D64 #A0298F #CC3AB8 #D96BCA #E59BDB

Accessibility & contrast

On white

4.32
#CC3AB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#CC3AB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3AB8
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3AB8#FFFFFF#000000##000000
##CC3AB81.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#376CBB
Deuteranopia (green-blind)
#6C81B4
Tritanopia (blue-blind)
#D64775
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc3ab8;
/* rgb */ color: rgb(204, 58, 184);
/* oklch */ color: oklch(60.8% 0.224 334.1);
Tailwind
colors: {
  custom: {
    50: '#df7ecd',
    500: '#cc3ab8',
    950: '#000000',
  },
}
SCSS
$custom: #cc3ab8;
$custom-light: #df7ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3ab8",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 184
  },
  "hsl": {
    "h": 308.219,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60777,
    "c": 0.22428,
    "h": 334.1
  },
  "luminance": 0.19324
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC3AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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