#CC3AC1#CC3AC1

#CC3AC1 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.2% C 0.231 H 331.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CC3AC1
RGBrgb(204, 58, 193)
HSLhsl(305, 59%, 51%)
HSVhsv(305, 72%, 80%)
CMYKcmyk(0%, 71.6%, 5.4%, 20%)
CIE-LABlab(51.52, 70.89, -40.27)
CIE-LCHlch(51.52, 81.53, 330.40°)
OKLaboklab(61.25% 0.2024 -0.1109)
OKLCHoklch(61.25% 0.231 331.3)
XYZxyz(36.0405, 19.7166, 52.3492)
Luminance0.1971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3AC1 #3ACC45
analogous
#8E3ACC #CC3AC1 #CC3A78
triadic
#CC3AC1 #C1CC3A #3AC1CC
tetradic
#CC3AC1 #CC8E3A #3ACC45 #3A78CC
square
#CC3AC1 #CC8E3A #3ACC45 #3A78CC
split-complementary
#CC3AC1 #78CC3A #3ACC8E
monochromatic
#6F1D69 #A02997 #CC3AC1 #D96BD0 #E59BE0

Accessibility & contrast

On white

4.25
#CC3AC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CC3AC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3AC1
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3AC1#FFFFFF#000000##000000
##CC3AC11.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E6EC5
Deuteranopia (green-blind)
#6782BD
Tritanopia (blue-blind)
#D44B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc3ac1;
/* rgb */ color: rgb(204, 58, 193);
/* oklch */ color: oklch(61.2% 0.231 331.3);
Tailwind
colors: {
  custom: {
    50: '#df7ed4',
    500: '#cc3ac1',
    950: '#000000',
  },
}
SCSS
$custom: #cc3ac1;
$custom-light: #df7ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3ac1",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 193
  },
  "hsl": {
    "h": 304.521,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.61245,
    "c": 0.23074,
    "h": 331.3
  },
  "luminance": 0.19714
}

Semantic roles & 50–950 ramp

primary
#CC3AC1
secondary
#91D196
accent
#E25246
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CC3AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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