#CC39D2#CC39D2

#CC39D2 is a light, highly saturated purple. Relative luminance 0.204; OKLCH L 62.1% C 0.244 H 326.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CC39D2
RGBrgb(204, 57, 210)
HSLhsl(298, 63%, 52%)
HSVhsv(298, 73%, 82%)
CMYKcmyk(2.9%, 72.9%, 0%, 17.6%)
CIE-LABlab(52.31, 73.90, -48.80)
CIE-LCHlch(52.31, 88.56, 326.56°)
OKLaboklab(62.11% 0.2034 -0.1356)
OKLCHoklch(62.11% 0.244 326.3)
XYZxyz(37.9971, 20.4194, 62.9003)
Luminance0.2042 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC39D2 #3FD239
analogous
#8039D2 #CC39D2 #D2398C
triadic
#CC39D2 #D2CC39 #39D2CC
tetradic
#CC39D2 #D28039 #3FD239 #398CD2
square
#CC39D2 #D28039 #3FD239 #398CD2
split-complementary
#CC39D2 #8CD239 #39D280
monochromatic
#721B76 #A326A8 #CC39D2 #D96BDD #E69DE9

Accessibility & contrast

On white

4.13
#CC39D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CC39D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC39D2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC39D2#FFFFFF#000000##000000
##CC39D21.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A71D6
Deuteranopia (green-blind)
#5D83CE
Tritanopia (blue-blind)
#D15383
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc39d2;
/* rgb */ color: rgb(204, 57, 210);
/* oklch */ color: oklch(62.1% 0.244 326.3);
Tailwind
colors: {
  custom: {
    50: '#e07ee0',
    500: '#cc39d2',
    950: '#000000',
  },
}
SCSS
$custom: #cc39d2;
$custom-light: #e07ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc39d2",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 210
  },
  "hsl": {
    "h": 297.647,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.62105,
    "c": 0.24446,
    "h": 326.3
  },
  "luminance": 0.20417
}

Semantic roles & 50–950 ramp

primary
#CC39D2
secondary
#95D592
accent
#E64248
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CC39D2

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

Preview Lab → · Contrast checker → · Palette generator →

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