#CD39B7#CD39B7

#CD39B7 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.8% C 0.225 H 334.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#CD39B7
RGBrgb(205, 57, 183)
HSLhsl(309, 60%, 51%)
HSVhsv(309, 72%, 80%)
CMYKcmyk(0%, 72.2%, 10.7%, 19.6%)
CIE-LABlab(51.07, 69.94, -35.16)
CIE-LCHlch(51.07, 78.28, 333.31°)
OKLaboklab(60.79% 0.2037 -0.0961)
OKLCHoklch(60.79% 0.225 334.7)
XYZxyz(35.1876, 19.3274, 46.6679)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD39B7 #39CD4F
analogous
#9939CD #CD39B7 #CD396D
triadic
#CD39B7 #B7CD39 #39B7CD
tetradic
#CD39B7 #CD9939 #39CD4F #396DCD
square
#CD39B7 #CD9939 #39CD4F #396DCD
split-complementary
#CD39B7 #6DCD39 #39CD99
monochromatic
#6F1C63 #A0288F #CD39B7 #D96AC9 #E69BDB

Accessibility & contrast

On white

4.32
#CD39B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#CD39B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD39B7
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD39B7#FFFFFF#000000##000000
##CD39B71.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#386CBA
Deuteranopia (green-blind)
#6D81B3
Tritanopia (blue-blind)
#D74574
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd39b7;
/* rgb */ color: rgb(205, 57, 183);
/* oklch */ color: oklch(60.8% 0.225 334.7);
Tailwind
colors: {
  custom: {
    50: '#e07dcd',
    500: '#cd39b7',
    950: '#000000',
  },
}
SCSS
$custom: #cd39b7;
$custom-light: #e07dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd39b7",
  "rgb": {
    "r": 205,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 308.919,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60793,
    "c": 0.22522,
    "h": 334.7
  },
  "luminance": 0.19324
}

Semantic roles & 50–950 ramp

primary
#CD39B7
secondary
#90D29A
accent
#E35C45
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD39B7

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

Preview Lab → · Contrast checker → · Palette generator →

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