#CC39B6#CC39B6

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

Color values

HEX#CC39B6
RGBrgb(204, 57, 182)
HSLhsl(309, 59%, 51%)
HSVhsv(309, 72%, 80%)
CMYKcmyk(0%, 72.1%, 10.8%, 20%)
CIE-LABlab(50.86, 69.56, -34.92)
CIE-LCHlch(50.86, 77.83, 333.34°)
OKLaboklab(60.59% 0.2026 -0.0954)
OKLCHoklch(60.59% 0.224 334.8)
XYZxyz(34.8088, 19.1441, 46.1088)
Luminance0.1914 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC39B6 #39CC4F
analogous
#9839CC #CC39B6 #CC396C
triadic
#CC39B6 #B6CC39 #39B6CC
tetradic
#CC39B6 #CC9839 #39CC4F #396CCC
square
#CC39B6 #CC9839 #39CC4F #396CCC
split-complementary
#CC39B6 #6CCC39 #39CC98
monochromatic
#6E1C62 #9F298D #CC39B6 #D96AC8 #E59ADA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC39B6#FFFFFF#000000##000000
##CC39B61.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)
#386BB9
Deuteranopia (green-blind)
#6C81B2
Tritanopia (blue-blind)
#D64574
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc39b6;
/* rgb */ color: rgb(204, 57, 182);
/* oklch */ color: oklch(60.6% 0.224 334.8);
Tailwind
colors: {
  custom: {
    50: '#df7dcc',
    500: '#cc39b6',
    950: '#000000',
  },
}
SCSS
$custom: #cc39b6;
$custom-light: #df7dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc39b6",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 182
  },
  "hsl": {
    "h": 308.98,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60593,
    "c": 0.22398,
    "h": 334.8
  },
  "luminance": 0.19141
}

Semantic roles & 50–950 ramp

primary
#CC39B6
secondary
#90D19A
accent
#E25D46
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC39B6

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

Preview Lab → · Contrast checker → · Palette generator →

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