#9D3DAD#9D3DAD

#9D3DAD is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.7% C 0.187 H 321.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#9D3DAD
RGBrgb(157, 61, 173)
HSLhsl(291, 48%, 46%)
HSVhsv(291, 65%, 68%)
CMYKcmyk(9.2%, 64.7%, 0%, 32.2%)
CIE-LABlab(43.54, 55.45, -41.67)
CIE-LCHlch(43.54, 69.36, 323.08°)
OKLaboklab(53.72% 0.1469 -0.1161)
OKLCHoklch(53.72% 0.187 321.7)
XYZxyz(23.1154, 13.5239, 40.9199)
Luminance0.1352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3DAD #4DAD3D
analogous
#653DAD #9D3DAD #AD3D85
triadic
#9D3DAD #AD9D3D #3DAD9D
tetradic
#9D3DAD #AD653D #4DAD3D #3D85AD
square
#9D3DAD #AD653D #4DAD3D #3D85AD
split-complementary
#9D3DAD #85AD3D #3DAD65
monochromatic
#4B1D53 #742D80 #9D3DAD #B860C7 #CC8DD7

Accessibility & contrast

On white

5.67
#9D3DAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#9D3DAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3DAD
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3DAD#FFFFFF#000000##FFFFFF
##9D3DAD1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2160B0
Deuteranopia (green-blind)
#4A6BAA
Tritanopia (blue-blind)
#9F4F70
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9d3dad;
/* rgb */ color: rgb(157, 61, 173);
/* oklch */ color: oklch(53.7% 0.187 321.7);
Tailwind
colors: {
  custom: {
    50: '#bd79c6',
    500: '#9d3dad',
    950: '#000000',
  },
}
SCSS
$custom: #9d3dad;
$custom-light: #bd79c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3dad",
  "rgb": {
    "r": 157,
    "g": 61,
    "b": 173
  },
  "hsl": {
    "h": 291.429,
    "s": 47.863,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53716,
    "c": 0.18727,
    "h": 321.7
  },
  "luminance": 0.13523
}

Semantic roles & 50–950 ramp

primary
#9D3DAD
secondary
#8DC284
accent
#D75064
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9D3DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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