#CC39B7#CC39B7

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

Color values

HEX#CC39B7
RGBrgb(204, 57, 183)
HSLhsl(309, 59%, 51%)
HSVhsv(309, 72%, 80%)
CMYKcmyk(0%, 72.1%, 10.3%, 20%)
CIE-LABlab(50.90, 69.71, -35.43)
CIE-LCHlch(50.90, 78.19, 333.06°)
OKLaboklab(60.64% 0.2027 -0.0969)
OKLCHoklch(60.64% 0.225 334.4)
XYZxyz(34.9126, 19.1855, 46.6550)
Luminance0.1918 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC39B7 #39CC4E
analogous
#9739CC #CC39B7 #CC396D
triadic
#CC39B7 #B7CC39 #39B7CC
tetradic
#CC39B7 #CC9739 #39CC4E #396DCC
square
#CC39B7 #CC9739 #39CC4E #396DCC
split-complementary
#CC39B7 #6DCC39 #39CC97
monochromatic
#6E1C63 #9F298E #CC39B7 #D96AC9 #E59ADA

Accessibility & contrast

On white

4.34
#CC39B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC39B7#FFFFFF#000000##000000
##CC39B71.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#376BBA
Deuteranopia (green-blind)
#6C81B3
Tritanopia (blue-blind)
#D64674
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc39b7;
/* rgb */ color: rgb(204, 57, 183);
/* oklch */ color: oklch(60.6% 0.225 334.4);
Tailwind
colors: {
  custom: {
    50: '#df7dcd',
    500: '#cc39b7',
    950: '#000000',
  },
}
SCSS
$custom: #cc39b7;
$custom-light: #df7dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc39b7",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 308.571,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60643,
    "c": 0.22467,
    "h": 334.4
  },
  "luminance": 0.19183
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC39B7

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

Preview Lab → · Contrast checker → · Palette generator →

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