#CC39B4#CC39B4

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

Color values

HEX#CC39B4
RGBrgb(204, 57, 180)
HSLhsl(310, 59%, 51%)
HSVhsv(310, 72%, 80%)
CMYKcmyk(0%, 72.1%, 11.8%, 20%)
CIE-LABlab(50.76, 69.27, -33.90)
CIE-LCHlch(50.76, 77.12, 333.92°)
OKLaboklab(60.49% 0.2024 -0.0925)
OKLCHoklch(60.49% 0.223 335.4)
XYZxyz(34.6036, 19.0620, 45.0280)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC39B4 #39CC51
analogous
#9A39CC #CC39B4 #CC396A
triadic
#CC39B4 #B4CC39 #39B4CC
tetradic
#CC39B4 #CC9A39 #39CC51 #396ACC
square
#CC39B4 #CC9A39 #39CC51 #396ACC
split-complementary
#CC39B4 #6ACC39 #39CC9A
monochromatic
#6E1C61 #9F298C #CC39B4 #D96AC6 #E59AD9

Accessibility & contrast

On white

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

On black

4.81
#CC39B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC39B4
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC39B4#FFFFFF#000000##000000
##CC39B41.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#396BB7
Deuteranopia (green-blind)
#6D81B0
Tritanopia (blue-blind)
#D64472
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc39b4;
/* rgb */ color: rgb(204, 57, 180);
/* oklch */ color: oklch(60.5% 0.223 335.4);
Tailwind
colors: {
  custom: {
    50: '#df7dcb',
    500: '#cc39b4',
    950: '#000000',
  },
}
SCSS
$custom: #cc39b4;
$custom-light: #df7dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc39b4",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 180
  },
  "hsl": {
    "h": 309.796,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60493,
    "c": 0.22259,
    "h": 335.4
  },
  "luminance": 0.19059
}

Semantic roles & 50–950 ramp

primary
#CC39B4
secondary
#90D19B
accent
#E25F46
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC39B4

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

Preview Lab → · Contrast checker → · Palette generator →

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