#CC39E2#CC39E2

#CC39E2 is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 63.1% C 0.257 H 322.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#CC39E2
RGBrgb(204, 57, 226)
HSLhsl(292, 74%, 55%)
HSVhsv(292, 75%, 89%)
CMYKcmyk(9.7%, 74.8%, 0%, 11.4%)
CIE-LABlab(53.23, 76.58, -56.42)
CIE-LCHlch(53.23, 95.12, 323.62°)
OKLaboklab(63.06% 0.2025 -0.1579)
OKLCHoklch(63.06% 0.257 322.1)
XYZxyz(40.0910, 21.2569, 73.9281)
Luminance0.2125 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC39E2 #4FE239
analogous
#7739E2 #CC39E2 #E239A4
triadic
#CC39E2 #E2CC39 #39E2CC
tetradic
#CC39E2 #E27739 #4FE239 #39A4E2
square
#CC39E2 #E27739 #4FE239 #39A4E2
split-complementary
#CC39E2 #A4E239 #39E277
monochromatic
#7D158C #AC1CC1 #CC39E2 #DA6EEA #E7A4F2

Accessibility & contrast

On white

4.00
#CC39E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#CC39E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC39E2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC39E2#FFFFFF#000000##000000
##CC39E21.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E7
Deuteranopia (green-blind)
#5285DE
Tritanopia (blue-blind)
#CE5A8C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc39e2;
/* rgb */ color: rgb(204, 57, 226);
/* oklch */ color: oklch(63.1% 0.257 322.1);
Tailwind
colors: {
  custom: {
    50: '#e07fec',
    500: '#cc39e2',
    950: '#000000',
  },
}
SCSS
$custom: #cc39e2;
$custom-light: #e07fec;
$custom-dark: #000000;
JSON
{
  "hex": "#cc39e2",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 226
  },
  "hsl": {
    "h": 292.189,
    "s": 74.449,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63057,
    "c": 0.25679,
    "h": 322.1
  },
  "luminance": 0.21255
}

Semantic roles & 50–950 ramp

primary
#CC39E2
secondary
#A1DF98
accent
#F1374F
background
#FEF8FE
surface
#FCEFFD
border
#D5CAD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #CC39E2

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

Preview Lab → · Contrast checker → · Palette generator →

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