#CC3ABA#CC3ABA

#CC3ABA is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.9% C 0.226 H 333.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CC3ABA
RGBrgb(204, 58, 186)
HSLhsl(307, 59%, 51%)
HSVhsv(307, 72%, 80%)
CMYKcmyk(0%, 71.6%, 8.8%, 20%)
CIE-LABlab(51.17, 69.82, -36.76)
CIE-LCHlch(51.17, 78.91, 332.23°)
OKLaboklab(60.88% 0.202 -0.1008)
OKLCHoklch(60.88% 0.226 333.5)
XYZxyz(35.2781, 19.4116, 48.3337)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3ABA #3ACC4C
analogous
#953ACC #CC3ABA #CC3A71
triadic
#CC3ABA #BACC3A #3ABACC
tetradic
#CC3ABA #CC953A #3ACC4C #3A71CC
square
#CC3ABA #CC953A #3ACC4C #3A71CC
split-complementary
#CC3ABA #71CC3A #3ACC95
monochromatic
#6F1D65 #A02991 #CC3ABA #D96BCB #E59BDC

Accessibility & contrast

On white

4.30
#CC3ABA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CC3ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3ABA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3ABA#FFFFFF#000000##000000
##CC3ABA1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#356CBE
Deuteranopia (green-blind)
#6B81B6
Tritanopia (blue-blind)
#D54876
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc3aba;
/* rgb */ color: rgb(204, 58, 186);
/* oklch */ color: oklch(60.9% 0.226 333.5);
Tailwind
colors: {
  custom: {
    50: '#df7ecf',
    500: '#cc3aba',
    950: '#000000',
  },
}
SCSS
$custom: #cc3aba;
$custom-light: #df7ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3aba",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 307.397,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60879,
    "c": 0.2257,
    "h": 333.5
  },
  "luminance": 0.19409
}

Semantic roles & 50–950 ramp

primary
#CC3ABA
secondary
#91D199
accent
#E25946
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CC3ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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