#CC39CC#CC39CC

#CC39CC is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.8% C 0.240 H 328.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#CC39CC
RGBrgb(204, 57, 204)
HSLhsl(300, 59%, 51%)
HSVhsv(300, 72%, 80%)
CMYKcmyk(0%, 72.1%, 0%, 20%)
CIE-LABlab(51.98, 72.93, -45.88)
CIE-LCHlch(51.98, 86.16, 327.83°)
OKLaboklab(61.76% 0.2035 -0.1271)
OKLCHoklch(61.76% 0.24 328)
XYZxyz(37.2636, 20.1260, 59.0371)
Luminance0.2012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC39CC #39CC39
analogous
#8239CC #CC39CC #CC3982
triadic
#CC39CC #CCCC39 #39CCCC
tetradic
#CC39CC #CC8239 #39CC39 #3982CC
square
#CC39CC #CC8239 #39CC39 #3982CC
split-complementary
#CC39CC #82CC39 #39CC82
monochromatic
#6E1C6E #9F299F #CC39CC #D96AD9 #E59AE5

Accessibility & contrast

On white

4.18
#CC39CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#CC39CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC39CC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC39CC#FFFFFF#000000##000000
##CC39CC1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C70D0
Deuteranopia (green-blind)
#6183C8
Tritanopia (blue-blind)
#D25080
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc39cc;
/* rgb */ color: rgb(204, 57, 204);
/* oklch */ color: oklch(61.8% 0.240 328.0);
Tailwind
colors: {
  custom: {
    50: '#e07edc',
    500: '#cc39cc',
    950: '#000000',
  },
}
SCSS
$custom: #cc39cc;
$custom-light: #e07edc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc39cc",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 300,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.61764,
    "c": 0.23992,
    "h": 328
  },
  "luminance": 0.20123
}

Semantic roles & 50–950 ramp

primary
#CC39CC
secondary
#90D190
accent
#E24646
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CC39CC

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

Preview Lab → · Contrast checker → · Palette generator →

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