#CC3ABB#CC3ABB

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

Color values

HEX#CC3ABB
RGBrgb(204, 58, 187)
HSLhsl(307, 59%, 51%)
HSVhsv(307, 72%, 80%)
CMYKcmyk(0%, 71.6%, 8.3%, 20%)
CIE-LABlab(51.21, 69.97, -37.27)
CIE-LCHlch(51.21, 79.28, 331.96°)
OKLaboklab(60.93% 0.202 -0.1022)
OKLCHoklch(60.93% 0.226 333.2)
XYZxyz(35.3847, 19.4543, 48.8955)
Luminance0.1945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3ABB #3ACC4B
analogous
#943ACC #CC3ABB #CC3A72
triadic
#CC3ABB #BBCC3A #3ABBCC
tetradic
#CC3ABB #CC943A #3ACC4B #3A72CC
square
#CC3ABB #CC943A #3ACC4B #3A72CC
split-complementary
#CC3ABB #72CC3A #3ACC94
monochromatic
#6F1D65 #A02992 #CC3ABB #D96BCC #E59BDD

Accessibility & contrast

On white

4.29
#CC3ABB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#CC3ABB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3ABB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3ABB#FFFFFF#000000##000000
##CC3ABB1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#346DBF
Deuteranopia (green-blind)
#6A81B7
Tritanopia (blue-blind)
#D54877
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc3abb;
/* rgb */ color: rgb(204, 58, 187);
/* oklch */ color: oklch(60.9% 0.226 333.2);
Tailwind
colors: {
  custom: {
    50: '#df7ed0',
    500: '#cc3abb',
    950: '#000000',
  },
}
SCSS
$custom: #cc3abb;
$custom-light: #df7ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3abb",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 187
  },
  "hsl": {
    "h": 306.986,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60931,
    "c": 0.2264,
    "h": 333.2
  },
  "luminance": 0.19451
}

Semantic roles & 50–950 ramp

primary
#CC3ABB
secondary
#91D198
accent
#E25846
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CC3ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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