#9D3DB6#9D3DB6

#9D3DB6 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.3% C 0.196 H 318.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9D3DB6
RGBrgb(157, 61, 182)
HSLhsl(288, 50%, 48%)
HSVhsv(288, 66%, 71%)
CMYKcmyk(13.7%, 66.5%, 0%, 28.6%)
CIE-LABlab(44.07, 57.19, -46.14)
CIE-LCHlch(44.07, 73.48, 321.11°)
OKLaboklab(54.26% 0.1468 -0.1292)
OKLCHoklch(54.26% 0.196 318.7)
XYZxyz(24.0157, 13.8840, 45.6618)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3DB6 #56B63D
analogous
#603DB6 #9D3DB6 #B63D93
triadic
#9D3DB6 #B69D3D #3DB69D
tetradic
#9D3DB6 #B6603D #56B63D #3D93B6
square
#9D3DB6 #B6603D #56B63D #3D93B6
split-complementary
#9D3DB6 #93B63D #3DB660
monochromatic
#4E1E5A #752E88 #9D3DB6 #B665CB #CC93DB

Accessibility & contrast

On white

5.56
#9D3DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9D3DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3DB6
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3DB6#FFFFFF#000000##FFFFFF
##9D3DB61.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F62BA
Deuteranopia (green-blind)
#446BB3
Tritanopia (blue-blind)
#9D5374
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d3db6;
/* rgb */ color: rgb(157, 61, 182);
/* oklch */ color: oklch(54.3% 0.196 318.7);
Tailwind
colors: {
  custom: {
    50: '#bd7acc',
    500: '#9d3db6',
    950: '#000000',
  },
}
SCSS
$custom: #9d3db6;
$custom-light: #bd7acc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3db6",
  "rgb": {
    "r": 157,
    "g": 61,
    "b": 182
  },
  "hsl": {
    "h": 287.603,
    "s": 49.794,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54262,
    "c": 0.19557,
    "h": 318.7
  },
  "luminance": 0.13883
}

Semantic roles & 50–950 ramp

primary
#9D3DB6
secondary
#95C689
accent
#D94E6B
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A13
muted
#817C82

Preview Lab

Preview with #9D3DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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