#CC39C2#CC39C2

#CC39C2 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.2% C 0.233 H 331.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CC39C2
RGBrgb(204, 57, 194)
HSLhsl(304, 59%, 51%)
HSVhsv(304, 72%, 80%)
CMYKcmyk(0%, 72.1%, 4.9%, 20%)
CIE-LABlab(51.45, 71.36, -40.95)
CIE-LCHlch(51.45, 82.28, 330.15°)
OKLaboklab(61.22% 0.2033 -0.1128)
OKLCHoklch(61.22% 0.233 331)
XYZxyz(36.1025, 19.6615, 52.9221)
Luminance0.1966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC39C2 #39CC43
analogous
#8C39CC #CC39C2 #CC3978
triadic
#CC39C2 #C2CC39 #39C2CC
tetradic
#CC39C2 #CC8C39 #39CC43 #3978CC
square
#CC39C2 #CC8C39 #39CC43 #3978CC
split-complementary
#CC39C2 #78CC39 #39CC8C
monochromatic
#6E1C69 #9F2997 #CC39C2 #D96AD1 #E59AE0

Accessibility & contrast

On white

4.26
#CC39C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CC39C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC39C2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC39C2#FFFFFF#000000##000000
##CC39C21.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B6EC6
Deuteranopia (green-blind)
#6682BE
Tritanopia (blue-blind)
#D44B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc39c2;
/* rgb */ color: rgb(204, 57, 194);
/* oklch */ color: oklch(61.2% 0.233 331.0);
Tailwind
colors: {
  custom: {
    50: '#df7dd5',
    500: '#cc39c2',
    950: '#000000',
  },
}
SCSS
$custom: #cc39c2;
$custom-light: #df7dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc39c2",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 194
  },
  "hsl": {
    "h": 304.082,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.61216,
    "c": 0.23253,
    "h": 331
  },
  "luminance": 0.19659
}

Semantic roles & 50–950 ramp

primary
#CC39C2
secondary
#90D194
accent
#E25046
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CC39C2

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

Preview Lab → · Contrast checker → · Palette generator →

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