#CC39C1#CC39C1

#CC39C1 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.2% C 0.232 H 331.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CC39C1
RGBrgb(204, 57, 193)
HSLhsl(304, 59%, 51%)
HSVhsv(304, 72%, 80%)
CMYKcmyk(0%, 72.1%, 5.4%, 20%)
CIE-LABlab(51.40, 71.21, -40.45)
CIE-LCHlch(51.40, 81.90, 330.40°)
OKLaboklab(61.16% 0.2033 -0.1114)
OKLCHoklch(61.16% 0.232 331.3)
XYZxyz(35.9906, 19.6168, 52.3326)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC39C1 #39CC44
analogous
#8D39CC #CC39C1 #CC3977
triadic
#CC39C1 #C1CC39 #39C1CC
tetradic
#CC39C1 #CC8D39 #39CC44 #3977CC
square
#CC39C1 #CC8D39 #39CC44 #3977CC
split-complementary
#CC39C1 #77CC39 #39CC8D
monochromatic
#6E1C68 #9F2996 #CC39C1 #D96AD0 #E59ADF

Accessibility & contrast

On white

4.27
#CC39C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CC39C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC39C1
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC39C1#FFFFFF#000000##000000
##CC39C11.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D6DC5
Deuteranopia (green-blind)
#6782BD
Tritanopia (blue-blind)
#D44B7A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc39c1;
/* rgb */ color: rgb(204, 57, 193);
/* oklch */ color: oklch(61.2% 0.232 331.3);
Tailwind
colors: {
  custom: {
    50: '#df7dd4',
    500: '#cc39c1',
    950: '#000000',
  },
}
SCSS
$custom: #cc39c1;
$custom-light: #df7dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc39c1",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 193
  },
  "hsl": {
    "h": 304.49,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.61163,
    "c": 0.23181,
    "h": 331.3
  },
  "luminance": 0.19614
}

Semantic roles & 50–950 ramp

primary
#CC39C1
secondary
#90D195
accent
#E25146
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CC39C1

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

Preview Lab → · Contrast checker → · Palette generator →

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