#9D39AE#9D39AE

#9D39AE is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.3% C 0.194 H 321.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#9D39AE
RGBrgb(157, 57, 174)
HSLhsl(291, 51%, 45%)
HSVhsv(291, 67%, 68%)
CMYKcmyk(9.8%, 67.2%, 0%, 31.8%)
CIE-LABlab(42.99, 57.34, -43.14)
CIE-LCHlch(42.99, 71.75, 323.04°)
OKLaboklab(53.34% 0.1515 -0.1204)
OKLCHoklch(53.34% 0.194 321.5)
XYZxyz(23.0069, 13.1516, 41.3628)
Luminance0.1315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D39AE #4AAE39
analogous
#6239AE #9D39AE #AE3984
triadic
#9D39AE #AE9D39 #39AE9D
tetradic
#9D39AE #AE6239 #4AAE39 #3984AE
square
#9D39AE #AE6239 #4AAE39 #3984AE
split-complementary
#9D39AE #84AE39 #39AE62
monochromatic
#4A1B52 #732A80 #9D39AE #B95BC9 #CD89D8

Accessibility & contrast

On white

5.79
#9D39AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9D39AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D39AE
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D39AE#FFFFFF#000000##FFFFFF
##9D39AE1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155EB1
Deuteranopia (green-blind)
#4769AB
Tritanopia (blue-blind)
#9F4D6F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d39ae;
/* rgb */ color: rgb(157, 57, 174);
/* oklch */ color: oklch(53.3% 0.194 321.5);
Tailwind
colors: {
  custom: {
    50: '#bd77c7',
    500: '#9d39ae',
    950: '#000000',
  },
}
SCSS
$custom: #9d39ae;
$custom-light: #bd77c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d39ae",
  "rgb": {
    "r": 157,
    "g": 57,
    "b": 174
  },
  "hsl": {
    "h": 291.282,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53337,
    "c": 0.19352,
    "h": 321.5
  },
  "luminance": 0.1315
}

Semantic roles & 50–950 ramp

primary
#9D39AE
secondary
#8AC380
accent
#DA4E62
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9D39AE

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

Preview Lab → · Contrast checker → · Palette generator →

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