#CC39BC#CC39BC

#CC39BC is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.9% C 0.228 H 332.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CC39BC
RGBrgb(204, 57, 188)
HSLhsl(307, 59%, 51%)
HSVhsv(307, 72%, 80%)
CMYKcmyk(0%, 72.1%, 7.8%, 20%)
CIE-LABlab(51.15, 70.45, -37.95)
CIE-LCHlch(51.15, 80.02, 331.69°)
OKLaboklab(60.9% 0.203 -0.1042)
OKLCHoklch(60.9% 0.228 332.8)
XYZxyz(35.4422, 19.3974, 49.4446)
Luminance0.1939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC39BC #39CC49
analogous
#9239CC #CC39BC #CC3972
triadic
#CC39BC #BCCC39 #39BCCC
tetradic
#CC39BC #CC9239 #39CC49 #3972CC
square
#CC39BC #CC9239 #39CC49 #3972CC
split-complementary
#CC39BC #72CC39 #39CC92
monochromatic
#6E1C65 #9F2992 #CC39BC #D96ACC #E59ADD

Accessibility & contrast

On white

4.30
#CC39BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CC39BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC39BC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC39BC#FFFFFF#000000##000000
##CC39BC1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#326CC0
Deuteranopia (green-blind)
#6981B8
Tritanopia (blue-blind)
#D54877
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc39bc;
/* rgb */ color: rgb(204, 57, 188);
/* oklch */ color: oklch(60.9% 0.228 332.8);
Tailwind
colors: {
  custom: {
    50: '#df7dd0',
    500: '#cc39bc',
    950: '#000000',
  },
}
SCSS
$custom: #cc39bc;
$custom-light: #df7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc39bc",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 306.531,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.609,
    "c": 0.2282,
    "h": 332.8
  },
  "luminance": 0.19394
}

Semantic roles & 50–950 ramp

primary
#CC39BC
secondary
#90D197
accent
#E25746
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CC39BC

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

Preview Lab → · Contrast checker → · Palette generator →

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