#CC39C4#CC39C4

#CC39C4 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.3% C 0.234 H 330.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#CC39C4
RGBrgb(204, 57, 196)
HSLhsl(303, 59%, 51%)
HSVhsv(303, 72%, 80%)
CMYKcmyk(0%, 72.1%, 3.9%, 20%)
CIE-LABlab(51.56, 71.67, -41.94)
CIE-LCHlch(51.56, 83.04, 329.66°)
OKLaboklab(61.32% 0.2034 -0.1157)
OKLCHoklch(61.32% 0.234 330.4)
XYZxyz(36.3286, 19.7520, 54.1130)
Luminance0.1975 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC39C4 #39CC41
analogous
#8A39CC #CC39C4 #CC397A
triadic
#CC39C4 #C4CC39 #39C4CC
tetradic
#CC39C4 #CC8A39 #39CC41 #397ACC
square
#CC39C4 #CC8A39 #39CC41 #397ACC
split-complementary
#CC39C4 #7ACC39 #39CC8A
monochromatic
#6E1C6A #9F2998 #CC39C4 #D96AD3 #E59AE1

Accessibility & contrast

On white

4.24
#CC39C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#CC39C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC39C4
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC39C4#FFFFFF#000000##000000
##CC39C41.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#296EC8
Deuteranopia (green-blind)
#6582C0
Tritanopia (blue-blind)
#D44C7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc39c4;
/* rgb */ color: rgb(204, 57, 196);
/* oklch */ color: oklch(61.3% 0.234 330.4);
Tailwind
colors: {
  custom: {
    50: '#df7ed6',
    500: '#cc39c4',
    950: '#000000',
  },
}
SCSS
$custom: #cc39c4;
$custom-light: #df7ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc39c4",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 196
  },
  "hsl": {
    "h": 303.265,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.61324,
    "c": 0.234,
    "h": 330.4
  },
  "luminance": 0.19749
}

Semantic roles & 50–950 ramp

primary
#CC39C4
secondary
#90D193
accent
#E24E46
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CC39C4

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

Preview Lab → · Contrast checker → · Palette generator →

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