#9D39CD#9D39CD

#9D39CD is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.4% C 0.222 H 312.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9D39CD
RGBrgb(157, 57, 205)
HSLhsl(281, 60%, 51%)
HSVhsv(281, 72%, 80%)
CMYKcmyk(23.4%, 72.2%, 0%, 19.6%)
CIE-LABlab(44.95, 63.47, -58.12)
CIE-LCHlch(44.95, 86.06, 317.52°)
OKLaboklab(55.36% 0.1491 -0.1643)
OKLCHoklch(55.36% 0.222 312.2)
XYZxyz(26.3852, 14.5029, 59.1552)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D39CD #69CD39
analogous
#5339CD #9D39CD #CD39B3
triadic
#9D39CD #CD9D39 #39CD9D
tetradic
#9D39CD #CD5339 #69CD39 #39B3CD
square
#9D39CD #CD5339 #69CD39 #39B3CD
split-complementary
#9D39CD #B3CD39 #39CD53
monochromatic
#541C6F #7928A0 #9D39CD #B56AD9 #CD9BE6

Accessibility & contrast

On white

5.38
#9D39CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9D39CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D39CD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D39CD#FFFFFF#000000##FFFFFF
##9D39CD1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#276CCA
Tritanopia (blue-blind)
#975A80
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9d39cd;
/* rgb */ color: rgb(157, 57, 205);
/* oklch */ color: oklch(55.4% 0.222 312.2);
Tailwind
colors: {
  custom: {
    50: '#be78dd',
    500: '#9d39cd',
    950: '#000000',
  },
}
SCSS
$custom: #9d39cd;
$custom-light: #be78dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d39cd",
  "rgb": {
    "r": 157,
    "g": 57,
    "b": 205
  },
  "hsl": {
    "h": 280.541,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55358,
    "c": 0.22186,
    "h": 312.2
  },
  "luminance": 0.14502
}

Semantic roles & 50–950 ramp

primary
#9D39CD
secondary
#A5D290
accent
#E34578
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D39CD

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

Preview Lab → · Contrast checker → · Palette generator →

#9D39CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva