#CC3AB7#CC3AB7

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

Color values

HEX#CC3AB7
RGBrgb(204, 58, 183)
HSLhsl(309, 59%, 51%)
HSVhsv(309, 72%, 80%)
CMYKcmyk(0%, 71.6%, 10.3%, 20%)
CIE-LABlab(51.02, 69.38, -35.25)
CIE-LCHlch(51.02, 77.82, 333.07°)
OKLaboklab(60.73% 0.2017 -0.0964)
OKLCHoklch(60.73% 0.224 334.5)
XYZxyz(34.9625, 19.2854, 46.6716)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3AB7 #3ACC4F
analogous
#983ACC #CC3AB7 #CC3A6E
triadic
#CC3AB7 #B7CC3A #3AB7CC
tetradic
#CC3AB7 #CC983A #3ACC4F #3A6ECC
square
#CC3AB7 #CC983A #3ACC4F #3A6ECC
split-complementary
#CC3AB7 #6ECC3A #3ACC98
monochromatic
#6F1D63 #A0298F #CC3AB7 #D96BC9 #E59BDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC3AB7#FFFFFF#000000##000000
##CC3AB71.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)
#386CBA
Deuteranopia (green-blind)
#6C81B3
Tritanopia (blue-blind)
#D64674
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc3ab7;
/* rgb */ color: rgb(204, 58, 183);
/* oklch */ color: oklch(60.7% 0.224 334.5);
Tailwind
colors: {
  custom: {
    50: '#df7ecd',
    500: '#cc3ab7',
    950: '#000000',
  },
}
SCSS
$custom: #cc3ab7;
$custom-light: #df7ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3ab7",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 183
  },
  "hsl": {
    "h": 308.63,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60727,
    "c": 0.22358,
    "h": 334.5
  },
  "luminance": 0.19282
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC3AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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