#CC34C1#CC34C1

#CC34C1 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.8% C 0.237 H 331.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CC34C1
RGBrgb(204, 52, 193)
HSLhsl(304, 60%, 50%)
HSVhsv(304, 75%, 80%)
CMYKcmyk(0%, 74.5%, 5.4%, 20%)
CIE-LABlab(50.86, 72.76, -41.31)
CIE-LCHlch(50.86, 83.67, 330.41°)
OKLaboklab(60.77% 0.2078 -0.1138)
OKLCHoklch(60.77% 0.237 331.3)
XYZxyz(35.7555, 19.1465, 52.2542)
Luminance0.1914 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC34C1 #34CC3F
analogous
#8B34CC #CC34C1 #CC3475
triadic
#CC34C1 #C1CC34 #34C1CC
tetradic
#CC34C1 #CC8B34 #34CC3F #3475CC
square
#CC34C1 #CC8B34 #34CC3F #3475CC
split-complementary
#CC34C1 #75CC34 #34CC8B
monochromatic
#6B1B65 #9C2793 #CC34C1 #D865D0 #E596DF

Accessibility & contrast

On white

4.35
#CC34C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#CC34C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC34C1
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC34C1#FFFFFF#000000##000000
##CC34C11.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#256CC5
Deuteranopia (green-blind)
#6580BD
Tritanopia (blue-blind)
#D44778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc34c1;
/* rgb */ color: rgb(204, 52, 193);
/* oklch */ color: oklch(60.8% 0.237 331.3);
Tailwind
colors: {
  custom: {
    50: '#e07bd4',
    500: '#cc34c1',
    950: '#000000',
  },
}
SCSS
$custom: #cc34c1;
$custom-light: #e07bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc34c1",
  "rgb": {
    "r": 204,
    "g": 52,
    "b": 193
  },
  "hsl": {
    "h": 304.342,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.60773,
    "c": 0.23691,
    "h": 331.3
  },
  "luminance": 0.19144
}

Semantic roles & 50–950 ramp

primary
#CC34C1
secondary
#8CD091
accent
#E35045
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CC34C1

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

Preview Lab → · Contrast checker → · Palette generator →

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