#CC3AC7#CC3AC7

#CC3AC7 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.6% C 0.235 H 329.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CC3AC7
RGBrgb(204, 58, 199)
HSLhsl(302, 59%, 51%)
HSVhsv(302, 72%, 80%)
CMYKcmyk(0%, 71.6%, 2.5%, 20%)
CIE-LABlab(51.83, 71.82, -43.25)
CIE-LCHlch(51.83, 83.83, 328.94°)
OKLaboklab(61.57% 0.2025 -0.1195)
OKLCHoklch(61.57% 0.235 329.5)
XYZxyz(36.7234, 19.9898, 55.9460)
Luminance0.1999 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3AC7 #3ACC3F
analogous
#883ACC #CC3AC7 #CC3A7E
triadic
#CC3AC7 #C7CC3A #3AC7CC
tetradic
#CC3AC7 #CC883A #3ACC3F #3A7ECC
square
#CC3AC7 #CC883A #3ACC3F #3A7ECC
split-complementary
#CC3AC7 #7ECC3A #3ACC88
monochromatic
#6F1D6C #A0299B #CC3AC7 #D96BD5 #E59BE3

Accessibility & contrast

On white

4.20
#CC3AC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CC3AC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3AC7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3AC7#FFFFFF#000000##000000
##CC3AC71.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#266FCB
Deuteranopia (green-blind)
#6482C3
Tritanopia (blue-blind)
#D34E7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc3ac7;
/* rgb */ color: rgb(204, 58, 199);
/* oklch */ color: oklch(61.6% 0.235 329.5);
Tailwind
colors: {
  custom: {
    50: '#df7ed8',
    500: '#cc3ac7',
    950: '#000000',
  },
}
SCSS
$custom: #cc3ac7;
$custom-light: #df7ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3ac7",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 199
  },
  "hsl": {
    "h": 302.055,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.61568,
    "c": 0.23515,
    "h": 329.5
  },
  "luminance": 0.19987
}

Semantic roles & 50–950 ramp

primary
#CC3AC7
secondary
#91D193
accent
#E24B46
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CC3AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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