#CD39B5#CD39B5

#CD39B5 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.7% C 0.224 H 335.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CD39B5
RGBrgb(205, 57, 181)
HSLhsl(310, 60%, 51%)
HSVhsv(310, 72%, 80%)
CMYKcmyk(0%, 72.2%, 11.7%, 19.6%)
CIE-LABlab(50.97, 69.64, -34.14)
CIE-LCHlch(50.97, 77.56, 333.88°)
OKLaboklab(60.69% 0.2035 -0.0932)
OKLCHoklch(60.69% 0.224 335.4)
XYZxyz(34.9809, 19.2447, 45.5794)
Luminance0.1924 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD39B5 #39CD51
analogous
#9B39CD #CD39B5 #CD396B
triadic
#CD39B5 #B5CD39 #39B5CD
tetradic
#CD39B5 #CD9B39 #39CD51 #396BCD
square
#CD39B5 #CD9B39 #39CD51 #396BCD
split-complementary
#CD39B5 #6BCD39 #39CD9B
monochromatic
#6F1C62 #A0288D #CD39B5 #D96AC7 #E69BDA

Accessibility & contrast

On white

4.33
#CD39B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#CD39B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD39B5
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD39B5#FFFFFF#000000##000000
##CD39B51.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#396BB8
Deuteranopia (green-blind)
#6D81B1
Tritanopia (blue-blind)
#D74473
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd39b5;
/* rgb */ color: rgb(205, 57, 181);
/* oklch */ color: oklch(60.7% 0.224 335.4);
Tailwind
colors: {
  custom: {
    50: '#e07dcb',
    500: '#cd39b5',
    950: '#000000',
  },
}
SCSS
$custom: #cd39b5;
$custom-light: #e07dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd39b5",
  "rgb": {
    "r": 205,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 309.73,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60693,
    "c": 0.22384,
    "h": 335.4
  },
  "luminance": 0.19242
}

Semantic roles & 50–950 ramp

primary
#CD39B5
secondary
#90D29B
accent
#E35F45
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD39B5

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

Preview Lab → · Contrast checker → · Palette generator →

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