#CD39BA#CD39BA

#CD39BA is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.9% C 0.227 H 333.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#CD39BA
RGBrgb(205, 57, 186)
HSLhsl(308, 60%, 51%)
HSVhsv(308, 72%, 80%)
CMYKcmyk(0%, 72.2%, 9.3%, 19.6%)
CIE-LABlab(51.21, 70.38, -36.68)
CIE-LCHlch(51.21, 79.36, 332.47°)
OKLaboklab(60.95% 0.2039 -0.1005)
OKLCHoklch(60.95% 0.227 333.8)
XYZxyz(35.5032, 19.4536, 48.3299)
Luminance0.1945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD39BA #39CD4C
analogous
#9639CD #CD39BA #CD3970
triadic
#CD39BA #BACD39 #39BACD
tetradic
#CD39BA #CD9639 #39CD4C #3970CD
square
#CD39BA #CD9639 #39CD4C #3970CD
split-complementary
#CD39BA #70CD39 #39CD96
monochromatic
#6F1C65 #A02891 #CD39BA #D96ACB #E69BDC

Accessibility & contrast

On white

4.29
#CD39BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#CD39BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD39BA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD39BA#FFFFFF#000000##000000
##CD39BA1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#356CBE
Deuteranopia (green-blind)
#6B82B6
Tritanopia (blue-blind)
#D64776
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd39ba;
/* rgb */ color: rgb(205, 57, 186);
/* oklch */ color: oklch(60.9% 0.227 333.8);
Tailwind
colors: {
  custom: {
    50: '#e07dcf',
    500: '#cd39ba',
    950: '#000000',
  },
}
SCSS
$custom: #cd39ba;
$custom-light: #e07dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd39ba",
  "rgb": {
    "r": 205,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 307.703,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60945,
    "c": 0.22732,
    "h": 333.8
  },
  "luminance": 0.19451
}

Semantic roles & 50–950 ramp

primary
#CD39BA
secondary
#90D299
accent
#E35945
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CD39BA

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

Preview Lab → · Contrast checker → · Palette generator →

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