#CC3ACC#CC3ACC

#CC3ACC is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.8% C 0.239 H 328.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CC3ACC
RGBrgb(204, 58, 204)
HSLhsl(300, 59%, 51%)
HSVhsv(300, 72%, 80%)
CMYKcmyk(0%, 71.6%, 0%, 20%)
CIE-LABlab(52.09, 72.61, -45.70)
CIE-LCHlch(52.09, 85.80, 327.81°)
OKLaboklab(61.84% 0.2026 -0.1266)
OKLCHoklch(61.84% 0.239 328)
XYZxyz(37.3135, 20.2258, 59.0537)
Luminance0.2022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3ACC #3ACC3A
analogous
#833ACC #CC3ACC #CC3A83
triadic
#CC3ACC #CCCC3A #3ACCCC
tetradic
#CC3ACC #CC833A #3ACC3A #3A83CC
square
#CC3ACC #CC833A #3ACC3A #3A83CC
split-complementary
#CC3ACC #83CC3A #3ACC83
monochromatic
#6F1D6F #A029A0 #CC3ACC #D96BD9 #E59BE5

Accessibility & contrast

On white

4.16
#CC3ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#CC3ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3ACC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3ACC#FFFFFF#000000##000000
##CC3ACC1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E70D0
Deuteranopia (green-blind)
#6183C8
Tritanopia (blue-blind)
#D25080
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc3acc;
/* rgb */ color: rgb(204, 58, 204);
/* oklch */ color: oklch(61.8% 0.239 328.0);
Tailwind
colors: {
  custom: {
    50: '#df7edc',
    500: '#cc3acc',
    950: '#000000',
  },
}
SCSS
$custom: #cc3acc;
$custom-light: #df7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3acc",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 204
  },
  "hsl": {
    "h": 300,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.61844,
    "c": 0.23889,
    "h": 328
  },
  "luminance": 0.20223
}

Semantic roles & 50–950 ramp

primary
#CC3ACC
secondary
#91D191
accent
#E24646
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CC3ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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