#CD39C8#CD39C8

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

Color values

HEX#CD39C8
RGBrgb(205, 57, 200)
HSLhsl(302, 60%, 51%)
HSVhsv(302, 72%, 80%)
CMYKcmyk(0%, 72.2%, 2.4%, 19.6%)
CIE-LABlab(51.93, 72.51, -43.66)
CIE-LCHlch(51.93, 84.64, 328.95°)
OKLaboklab(61.69% 0.2045 -0.1206)
OKLCHoklch(61.69% 0.237 329.5)
XYZxyz(37.0650, 20.0783, 56.5557)
Luminance0.2008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD39C8 #39CD3E
analogous
#8839CD #CD39C8 #CD397E
triadic
#CD39C8 #C8CD39 #39C8CD
tetradic
#CD39C8 #CD8839 #39CD3E #397ECD
square
#CD39C8 #CD8839 #39CD3E #397ECD
split-complementary
#CD39C8 #7ECD39 #39CD88
monochromatic
#6F1C6D #A0289C #CD39C8 #D96AD6 #E69BE3

Accessibility & contrast

On white

4.19
#CD39C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD39C8#FFFFFF#000000##000000
##CD39C81.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#246FCC
Deuteranopia (green-blind)
#6483C4
Tritanopia (blue-blind)
#D44E7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd39c8;
/* rgb */ color: rgb(205, 57, 200);
/* oklch */ color: oklch(61.7% 0.237 329.5);
Tailwind
colors: {
  custom: {
    50: '#e07ed9',
    500: '#cd39c8',
    950: '#000000',
  },
}
SCSS
$custom: #cd39c8;
$custom-light: #e07ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd39c8",
  "rgb": {
    "r": 205,
    "g": 57,
    "b": 200
  },
  "hsl": {
    "h": 302.027,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.61688,
    "c": 0.23743,
    "h": 329.5
  },
  "luminance": 0.20076
}

Semantic roles & 50–950 ramp

primary
#CD39C8
secondary
#90D292
accent
#E34A45
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B15
muted
#847C83

Preview Lab

Preview with #CD39C8

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

Preview Lab → · Contrast checker → · Palette generator →

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