#9D3BAE#9D3BAE

#9D3BAE is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.6% C 0.191 H 321.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9D3BAE
RGBrgb(157, 59, 174)
HSLhsl(291, 49%, 46%)
HSVhsv(291, 66%, 68%)
CMYKcmyk(9.8%, 66.1%, 0%, 31.8%)
CIE-LABlab(43.29, 56.50, -42.66)
CIE-LCHlch(43.29, 70.80, 322.94°)
OKLaboklab(53.55% 0.1493 -0.119)
OKLCHoklch(53.55% 0.191 321.4)
XYZxyz(23.1077, 13.3532, 41.3965)
Luminance0.1335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3BAE #4CAE3B
analogous
#633BAE #9D3BAE #AE3B85
triadic
#9D3BAE #AE9D3B #3BAE9D
tetradic
#9D3BAE #AE633B #4CAE3B #3B85AE
square
#9D3BAE #AE633B #4CAE3B #3B85AE
split-complementary
#9D3BAE #85AE3B #3BAE63
monochromatic
#4B1C53 #742C80 #9D3BAE #B95EC8 #CD8CD8

Accessibility & contrast

On white

5.72
#9D3BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9D3BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3BAE
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3BAE#FFFFFF#000000##FFFFFF
##9D3BAE1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5FB1
Deuteranopia (green-blind)
#486AAB
Tritanopia (blue-blind)
#9E4E6F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d3bae;
/* rgb */ color: rgb(157, 59, 174);
/* oklch */ color: oklch(53.6% 0.191 321.4);
Tailwind
colors: {
  custom: {
    50: '#bd78c7',
    500: '#9d3bae',
    950: '#000000',
  },
}
SCSS
$custom: #9d3bae;
$custom-light: #bd78c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3bae",
  "rgb": {
    "r": 157,
    "g": 59,
    "b": 174
  },
  "hsl": {
    "h": 291.13,
    "s": 49.356,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53553,
    "c": 0.19089,
    "h": 321.4
  },
  "luminance": 0.13352
}

Semantic roles & 50–950 ramp

primary
#9D3BAE
secondary
#8CC282
accent
#D94F63
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9D3BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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