#CC39B5#CC39B5

#CC39B5 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.5% C 0.223 H 335.1°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CC39B5
RGBrgb(204, 57, 181)
HSLhsl(309, 59%, 51%)
HSVhsv(309, 72%, 80%)
CMYKcmyk(0%, 72.1%, 11.3%, 20%)
CIE-LABlab(50.81, 69.41, -34.41)
CIE-LCHlch(50.81, 77.47, 333.63°)
OKLaboklab(60.54% 0.2025 -0.094)
OKLCHoklch(60.54% 0.223 335.1)
XYZxyz(34.7059, 19.1029, 45.5665)
Luminance0.1910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC39B5 #39CC50
analogous
#9939CC #CC39B5 #CC396B
triadic
#CC39B5 #B5CC39 #39B5CC
tetradic
#CC39B5 #CC9939 #39CC50 #396BCC
square
#CC39B5 #CC9939 #39CC50 #396BCC
split-complementary
#CC39B5 #6BCC39 #39CC99
monochromatic
#6E1C61 #9F298C #CC39B5 #D96AC7 #E59AD9

Accessibility & contrast

On white

4.36
#CC39B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#CC39B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC39B5
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC39B5#FFFFFF#000000##000000
##CC39B51.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#396BB8
Deuteranopia (green-blind)
#6D81B1
Tritanopia (blue-blind)
#D64573
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc39b5;
/* rgb */ color: rgb(204, 57, 181);
/* oklch */ color: oklch(60.5% 0.223 335.1);
Tailwind
colors: {
  custom: {
    50: '#df7dcb',
    500: '#cc39b5',
    950: '#000000',
  },
}
SCSS
$custom: #cc39b5;
$custom-light: #df7dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc39b5",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 309.388,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60543,
    "c": 0.22328,
    "h": 335.1
  },
  "luminance": 0.191
}

Semantic roles & 50–950 ramp

primary
#CC39B5
secondary
#90D19A
accent
#E25E46
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC39B5

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

Preview Lab → · Contrast checker → · Palette generator →

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