#CD39C9#CD39C9

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

Color values

HEX#CD39C9
RGBrgb(205, 57, 201)
HSLhsl(302, 60%, 51%)
HSVhsv(302, 72%, 80%)
CMYKcmyk(0%, 72.2%, 2%, 19.6%)
CIE-LABlab(51.98, 72.67, -44.15)
CIE-LCHlch(51.98, 85.03, 328.72°)
OKLaboklab(61.74% 0.2045 -0.1221)
OKLCHoklch(61.74% 0.238 329.2)
XYZxyz(37.1823, 20.1252, 57.1732)
Luminance0.2012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD39C9 #39CD3D
analogous
#8739CD #CD39C9 #CD397F
triadic
#CD39C9 #C9CD39 #39C9CD
tetradic
#CD39C9 #CD8739 #39CD3D #397FCD
square
#CD39C9 #CD8739 #39CD3D #397FCD
split-complementary
#CD39C9 #7FCD39 #39CD87
monochromatic
#6F1C6D #A0289D #CD39C9 #D96AD6 #E69BE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD39C9#FFFFFF#000000##000000
##CD39C91.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)
#226FCD
Deuteranopia (green-blind)
#6483C5
Tritanopia (blue-blind)
#D44E7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd39c9;
/* rgb */ color: rgb(205, 57, 201);
/* oklch */ color: oklch(61.7% 0.238 329.2);
Tailwind
colors: {
  custom: {
    50: '#e07eda',
    500: '#cd39c9',
    950: '#000000',
  },
}
SCSS
$custom: #cd39c9;
$custom-light: #e07eda;
$custom-dark: #000000;
JSON
{
  "hex": "#cd39c9",
  "rgb": {
    "r": 205,
    "g": 57,
    "b": 201
  },
  "hsl": {
    "h": 301.622,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.61743,
    "c": 0.23817,
    "h": 329.2
  },
  "luminance": 0.20122
}

Semantic roles & 50–950 ramp

primary
#CD39C9
secondary
#90D292
accent
#E34945
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CD39C9

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

Preview Lab → · Contrast checker → · Palette generator →

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