#CD39C4#CD39C4

#CD39C4 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.5% C 0.234 H 330.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CD39C4
RGBrgb(205, 57, 196)
HSLhsl(304, 60%, 51%)
HSVhsv(304, 72%, 80%)
CMYKcmyk(0%, 72.2%, 4.4%, 19.6%)
CIE-LABlab(51.72, 71.89, -41.68)
CIE-LCHlch(51.72, 83.10, 329.90°)
OKLaboklab(61.47% 0.2044 -0.1149)
OKLCHoklch(61.47% 0.234 330.7)
XYZxyz(36.6037, 19.8938, 54.1259)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD39C4 #39CD42
analogous
#8C39CD #CD39C4 #CD397A
triadic
#CD39C4 #C4CD39 #39C4CD
tetradic
#CD39C4 #CD8C39 #39CD42 #397ACD
square
#CD39C4 #CD8C39 #39CD42 #397ACD
split-complementary
#CD39C4 #7ACD39 #39CD8C
monochromatic
#6F1C6A #A02899 #CD39C4 #D96AD3 #E69BE1

Accessibility & contrast

On white

4.22
#CD39C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CD39C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD39C4
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD39C4#FFFFFF#000000##000000
##CD39C41.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A6EC8
Deuteranopia (green-blind)
#6682C0
Tritanopia (blue-blind)
#D54C7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd39c4;
/* rgb */ color: rgb(205, 57, 196);
/* oklch */ color: oklch(61.5% 0.234 330.7);
Tailwind
colors: {
  custom: {
    50: '#e07ed6',
    500: '#cd39c4',
    950: '#000000',
  },
}
SCSS
$custom: #cd39c4;
$custom-light: #e07ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd39c4",
  "rgb": {
    "r": 205,
    "g": 57,
    "b": 196
  },
  "hsl": {
    "h": 303.649,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.6147,
    "c": 0.23449,
    "h": 330.7
  },
  "luminance": 0.19891
}

Semantic roles & 50–950 ramp

primary
#CD39C4
secondary
#90D294
accent
#E34F45
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CD39C4

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

Preview Lab → · Contrast checker → · Palette generator →

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