#9D3AB2#9D3AB2

#9D3AB2 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.7% C 0.196 H 320.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#9D3AB2
RGBrgb(157, 58, 178)
HSLhsl(290, 51%, 46%)
HSVhsv(290, 67%, 70%)
CMYKcmyk(11.8%, 67.4%, 0%, 30.2%)
CIE-LABlab(43.37, 57.69, -44.89)
CIE-LCHlch(43.37, 73.09, 322.11°)
OKLaboklab(53.69% 0.1503 -0.1255)
OKLCHoklch(53.69% 0.196 320.1)
XYZxyz(23.4526, 13.4097, 43.4638)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3AB2 #4FB23A
analogous
#613AB2 #9D3AB2 #B23A8B
triadic
#9D3AB2 #B29D3A #3AB29D
tetradic
#9D3AB2 #B2613A #4FB23A #3A8BB2
square
#9D3AB2 #B2613A #4FB23A #3A8BB2
split-complementary
#9D3AB2 #8BB23A #3AB261
monochromatic
#4C1C56 #742B84 #9D3AB2 #B85FCB #CC8DDA

Accessibility & contrast

On white

5.70
#9D3AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9D3AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3AB2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3AB2#FFFFFF#000000##FFFFFF
##9D3AB21.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F60B6
Deuteranopia (green-blind)
#456AAF
Tritanopia (blue-blind)
#9E4F71
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d3ab2;
/* rgb */ color: rgb(157, 58, 178);
/* oklch */ color: oklch(53.7% 0.196 320.1);
Tailwind
colors: {
  custom: {
    50: '#bd78c9',
    500: '#9d3ab2',
    950: '#000000',
  },
}
SCSS
$custom: #9d3ab2;
$custom-light: #bd78c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3ab2",
  "rgb": {
    "r": 157,
    "g": 58,
    "b": 178
  },
  "hsl": {
    "h": 289.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53688,
    "c": 0.19583,
    "h": 320.1
  },
  "luminance": 0.13409
}

Semantic roles & 50–950 ramp

primary
#9D3AB2
secondary
#8FC483
accent
#DA4D66
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9D3AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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