#9D3AAF#9D3AAF

#9D3AAF is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.5% C 0.193 H 321.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9D3AAF
RGBrgb(157, 58, 175)
HSLhsl(291, 50%, 46%)
HSVhsv(291, 67%, 69%)
CMYKcmyk(10.3%, 66.9%, 0%, 31.4%)
CIE-LABlab(43.20, 57.11, -43.40)
CIE-LCHlch(43.20, 71.73, 322.77°)
OKLaboklab(53.51% 0.1504 -0.1212)
OKLCHoklch(53.51% 0.193 321.1)
XYZxyz(23.1547, 13.2905, 41.8948)
Luminance0.1329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3AAF #4CAF3A
analogous
#623AAF #9D3AAF #AF3A86
triadic
#9D3AAF #AF9D3A #3AAF9D
tetradic
#9D3AAF #AF623A #4CAF3A #3A86AF
square
#9D3AAF #AF623A #4CAF3A #3A86AF
split-complementary
#9D3AAF #86AF3A #3AAF62
monochromatic
#4B1C53 #742B81 #9D3AAF #B95DC9 #CD8BD9

Accessibility & contrast

On white

5.74
#9D3AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9D3AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3AAF
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3AAF#FFFFFF#000000##FFFFFF
##9D3AAF1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165FB2
Deuteranopia (green-blind)
#476AAC
Tritanopia (blue-blind)
#9E4E70
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d3aaf;
/* rgb */ color: rgb(157, 58, 175);
/* oklch */ color: oklch(53.5% 0.193 321.1);
Tailwind
colors: {
  custom: {
    50: '#bd78c7',
    500: '#9d3aaf',
    950: '#000000',
  },
}
SCSS
$custom: #9d3aaf;
$custom-light: #bd78c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3aaf",
  "rgb": {
    "r": 157,
    "g": 58,
    "b": 175
  },
  "hsl": {
    "h": 290.769,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53505,
    "c": 0.19311,
    "h": 321.1
  },
  "luminance": 0.13289
}

Semantic roles & 50–950 ramp

primary
#9D3AAF
secondary
#8CC382
accent
#DA4E64
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9D3AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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