#CC3ABD#CC3ABD

#CC3ABD is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 61.0% C 0.228 H 332.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CC3ABD
RGBrgb(204, 58, 189)
HSLhsl(306, 59%, 51%)
HSVhsv(306, 72%, 80%)
CMYKcmyk(0%, 71.6%, 7.4%, 20%)
CIE-LABlab(51.31, 70.27, -38.27)
CIE-LCHlch(51.31, 80.02, 331.43°)
OKLaboklab(61.03% 0.2022 -0.1051)
OKLCHoklch(61.03% 0.228 332.5)
XYZxyz(35.6003, 19.5405, 50.0310)
Luminance0.1954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3ABD #3ACC49
analogous
#923ACC #CC3ABD #CC3A74
triadic
#CC3ABD #BDCC3A #3ABDCC
tetradic
#CC3ABD #CC923A #3ACC49 #3A74CC
square
#CC3ABD #CC923A #3ACC49 #3A74CC
split-complementary
#CC3ABD #74CC3A #3ACC92
monochromatic
#6F1D66 #A02993 #CC3ABD #D96BCD #E59BDE

Accessibility & contrast

On white

4.28
#CC3ABD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CC3ABD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3ABD
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3ABD#FFFFFF#000000##000000
##CC3ABD1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#326DC1
Deuteranopia (green-blind)
#6982B9
Tritanopia (blue-blind)
#D54978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc3abd;
/* rgb */ color: rgb(204, 58, 189);
/* oklch */ color: oklch(61.0% 0.228 332.5);
Tailwind
colors: {
  custom: {
    50: '#df7ed1',
    500: '#cc3abd',
    950: '#000000',
  },
}
SCSS
$custom: #cc3abd;
$custom-light: #df7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3abd",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 189
  },
  "hsl": {
    "h": 306.164,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.61034,
    "c": 0.22784,
    "h": 332.5
  },
  "luminance": 0.19538
}

Semantic roles & 50–950 ramp

primary
#CC3ABD
secondary
#91D197
accent
#E25646
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CC3ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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