#CC34B5#CC34B5

#CC34B5 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.1% C 0.229 H 335.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CC34B5
RGBrgb(204, 52, 181)
HSLhsl(309, 60%, 50%)
HSVhsv(309, 75%, 80%)
CMYKcmyk(0%, 74.5%, 11.3%, 20%)
CIE-LABlab(50.25, 70.99, -35.28)
CIE-LCHlch(50.25, 79.27, 333.57°)
OKLaboklab(60.14% 0.2072 -0.0964)
OKLCHoklch(60.14% 0.229 335)
XYZxyz(34.4708, 18.6326, 45.4881)
Luminance0.1863 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC34B5 #34CC4B
analogous
#9734CC #CC34B5 #CC3469
triadic
#CC34B5 #B5CC34 #34B5CC
tetradic
#CC34B5 #CC9734 #34CC4B #3469CC
square
#CC34B5 #CC9734 #34CC4B #3469CC
split-complementary
#CC34B5 #69CC34 #34CC97
monochromatic
#6B1B5F #9C278A #CC34B5 #D865C7 #E596D9

Accessibility & contrast

On white

4.44
#CC34B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CC34B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC34B5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC34B5#FFFFFF#000000##000000
##CC34B51.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3369B8
Deuteranopia (green-blind)
#6B80B1
Tritanopia (blue-blind)
#D64172
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc34b5;
/* rgb */ color: rgb(204, 52, 181);
/* oklch */ color: oklch(60.1% 0.229 335.0);
Tailwind
colors: {
  custom: {
    50: '#e07bcb',
    500: '#cc34b5',
    950: '#000000',
  },
}
SCSS
$custom: #cc34b5;
$custom-light: #e07bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc34b5",
  "rgb": {
    "r": 204,
    "g": 52,
    "b": 181
  },
  "hsl": {
    "h": 309.079,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.60144,
    "c": 0.22854,
    "h": 335
  },
  "luminance": 0.1863
}

Semantic roles & 50–950 ramp

primary
#CC34B5
secondary
#8CD096
accent
#E35D45
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC34B5

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

Preview Lab → · Contrast checker → · Palette generator →

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