#9D3ABD#9D3ABD

#9D3ABD is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.4% C 0.206 H 316.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9D3ABD
RGBrgb(157, 58, 189)
HSLhsl(285, 53%, 48%)
HSVhsv(285, 69%, 74%)
CMYKcmyk(16.9%, 69.3%, 0%, 25.9%)
CIE-LABlab(44.04, 59.83, -50.27)
CIE-LCHlch(44.04, 78.15, 319.96°)
OKLaboklab(54.38% 0.1498 -0.1413)
OKLCHoklch(54.38% 0.206 316.7)
XYZxyz(24.6016, 13.8693, 49.5154)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3ABD #5ABD3A
analogous
#5C3ABD #9D3ABD #BD3A9B
triadic
#9D3ABD #BD9D3A #3ABD9D
tetradic
#9D3ABD #BD5C3A #5ABD3A #3A9BBD
square
#9D3ABD #BD5C3A #5ABD3A #3A9BBD
split-complementary
#9D3ABD #9BBD3A #3ABD5C
monochromatic
#4F1D5F #762C8E #9D3ABD #B565D0 #CC93DE

Accessibility & contrast

On white

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

On black

3.77
#9D3ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9D3ABD#FFFFFF#000000##FFFFFF
##9D3ABD1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#3B6BBA
Tritanopia (blue-blind)
#9B5477
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d3abd;
/* rgb */ color: rgb(157, 58, 189);
/* oklch */ color: oklch(54.4% 0.206 316.7);
Tailwind
colors: {
  custom: {
    50: '#be78d1',
    500: '#9d3abd',
    950: '#000000',
  },
}
SCSS
$custom: #9d3abd;
$custom-light: #be78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3abd",
  "rgb": {
    "r": 157,
    "g": 58,
    "b": 189
  },
  "hsl": {
    "h": 285.344,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54384,
    "c": 0.20588,
    "h": 316.7
  },
  "luminance": 0.13868
}

Semantic roles & 50–950 ramp

primary
#9D3ABD
secondary
#99C98A
accent
#DC4B6F
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #9D3ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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