#CC39B9#CC39B9

#CC39B9 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.7% C 0.226 H 333.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CC39B9
RGBrgb(204, 57, 185)
HSLhsl(308, 59%, 51%)
HSVhsv(308, 72%, 80%)
CMYKcmyk(0%, 72.1%, 9.3%, 20%)
CIE-LABlab(51.00, 70.00, -36.44)
CIE-LCHlch(51.00, 78.92, 332.50°)
OKLaboklab(60.75% 0.2029 -0.0998)
OKLCHoklch(60.75% 0.226 333.8)
XYZxyz(35.1222, 19.2694, 47.7591)
Luminance0.1927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC39B9 #39CC4C
analogous
#9539CC #CC39B9 #CC396F
triadic
#CC39B9 #B9CC39 #39B9CC
tetradic
#CC39B9 #CC9539 #39CC4C #396FCC
square
#CC39B9 #CC9539 #39CC4C #396FCC
split-complementary
#CC39B9 #6FCC39 #39CC95
monochromatic
#6E1C64 #9F2990 #CC39B9 #D96ACA #E59ADB

Accessibility & contrast

On white

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

On black

4.85
#CC39B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC39B9
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC39B9#FFFFFF#000000##000000
##CC39B91.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#356CBD
Deuteranopia (green-blind)
#6B81B5
Tritanopia (blue-blind)
#D54775
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc39b9;
/* rgb */ color: rgb(204, 57, 185);
/* oklch */ color: oklch(60.7% 0.226 333.8);
Tailwind
colors: {
  custom: {
    50: '#df7dce',
    500: '#cc39b9',
    950: '#000000',
  },
}
SCSS
$custom: #cc39b9;
$custom-light: #df7dce;
$custom-dark: #000000;
JSON
{
  "hex": "#cc39b9",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 185
  },
  "hsl": {
    "h": 307.755,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60745,
    "c": 0.22608,
    "h": 333.8
  },
  "luminance": 0.19266
}

Semantic roles & 50–950 ramp

primary
#CC39B9
secondary
#90D198
accent
#E25A46
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC39B9

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

Preview Lab → · Contrast checker → · Palette generator →

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