#9D3DA4#9D3DA4

#9D3DA4 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.2% C 0.179 H 324.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9D3DA4
RGBrgb(157, 61, 164)
HSLhsl(296, 46%, 44%)
HSVhsv(296, 63%, 64%)
CMYKcmyk(4.3%, 62.8%, 0%, 35.7%)
CIE-LABlab(43.04, 53.76, -37.12)
CIE-LCHlch(43.04, 65.33, 325.38°)
OKLaboklab(53.19% 0.1467 -0.1029)
OKLCHoklch(53.19% 0.179 324.9)
XYZxyz(22.2737, 13.1872, 36.4869)
Luminance0.1319 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3DA4 #44A43D
analogous
#6A3DA4 #9D3DA4 #A43D78
triadic
#9D3DA4 #A49D3D #3DA49D
tetradic
#9D3DA4 #A46A3D #44A43D #3D78A4
square
#9D3DA4 #A46A3D #44A43D #3D78A4
split-complementary
#9D3DA4 #78A43D #3DA46A
monochromatic
#481C4B #722C77 #9D3DA4 #BB5CC2 #CE88D3

Accessibility & contrast

On white

5.77
#9D3DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9D3DA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3DA4
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3DA4#FFFFFF#000000##FFFFFF
##9D3DA41.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5EA7
Deuteranopia (green-blind)
#506AA1
Tritanopia (blue-blind)
#A04C6B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d3da4;
/* rgb */ color: rgb(157, 61, 164);
/* oklch */ color: oklch(53.2% 0.179 324.9);
Tailwind
colors: {
  custom: {
    50: '#bd79bf',
    500: '#9d3da4',
    950: '#000000',
  },
}
SCSS
$custom: #9d3da4;
$custom-light: #bd79bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3da4",
  "rgb": {
    "r": 157,
    "g": 61,
    "b": 164
  },
  "hsl": {
    "h": 295.922,
    "s": 45.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53194,
    "c": 0.17914,
    "h": 324.9
  },
  "luminance": 0.13186
}

Semantic roles & 50–950 ramp

primary
#9D3DA4
secondary
#84BD7F
accent
#D5525B
background
#FBF7FB
surface
#F7EEF7
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9D3DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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