#CC39B8#CC39B8

#CC39B8 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.7% C 0.225 H 334.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#CC39B8
RGBrgb(204, 57, 184)
HSLhsl(308, 59%, 51%)
HSVhsv(308, 72%, 80%)
CMYKcmyk(0%, 72.1%, 9.8%, 20%)
CIE-LABlab(50.95, 69.85, -35.94)
CIE-LCHlch(50.95, 78.56, 332.78°)
OKLaboklab(60.69% 0.2028 -0.0984)
OKLCHoklch(60.69% 0.225 334.1)
XYZxyz(35.0170, 19.2273, 47.2051)
Luminance0.1922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC39B8 #39CC4D
analogous
#9639CC #CC39B8 #CC396E
triadic
#CC39B8 #B8CC39 #39B8CC
tetradic
#CC39B8 #CC9639 #39CC4D #396ECC
square
#CC39B8 #CC9639 #39CC4D #396ECC
split-complementary
#CC39B8 #6ECC39 #39CC96
monochromatic
#6E1C63 #9F298F #CC39B8 #D96AC9 #E59ADB

Accessibility & contrast

On white

4.33
#CC39B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#CC39B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC39B8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC39B8#FFFFFF#000000##000000
##CC39B81.004.334.844.84
#FFFFFF4.331.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#366CBC
Deuteranopia (green-blind)
#6B81B4
Tritanopia (blue-blind)
#D64675
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc39b8;
/* rgb */ color: rgb(204, 57, 184);
/* oklch */ color: oklch(60.7% 0.225 334.1);
Tailwind
colors: {
  custom: {
    50: '#df7dcd',
    500: '#cc39b8',
    950: '#000000',
  },
}
SCSS
$custom: #cc39b8;
$custom-light: #df7dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc39b8",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 308.163,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60694,
    "c": 0.22537,
    "h": 334.1
  },
  "luminance": 0.19224
}

Semantic roles & 50–950 ramp

primary
#CC39B8
secondary
#90D199
accent
#E25B46
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC39B8

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

Preview Lab → · Contrast checker → · Palette generator →

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