#9D3AAA#9D3AAA

#9D3AAA is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.2% C 0.189 H 322.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9D3AAA
RGBrgb(157, 58, 170)
HSLhsl(293, 49%, 45%)
HSVhsv(293, 66%, 67%)
CMYKcmyk(7.6%, 65.9%, 0%, 33.3%)
CIE-LABlab(42.91, 56.17, -40.90)
CIE-LCHlch(42.91, 69.48, 323.94°)
OKLaboklab(53.21% 0.1504 -0.1139)
OKLCHoklch(53.21% 0.189 322.9)
XYZxyz(22.6727, 13.0977, 39.3563)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3AAA #47AA3A
analogous
#653AAA #9D3AAA #AA3A7F
triadic
#9D3AAA #AA9D3A #3AAA9D
tetradic
#9D3AAA #AA653A #47AA3A #3A7FAA
square
#9D3AAA #AA653A #47AA3A #3A7FAA
split-complementary
#9D3AAA #7FAA3A #3AAA65
monochromatic
#491B4F #732A7C #9D3AAA #BA5AC7 #CD88D6

Accessibility & contrast

On white

5.80
#9D3AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9D3AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3AAA
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3AAA#FFFFFF#000000##FFFFFF
##9D3AAA1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5EAD
Deuteranopia (green-blind)
#4A69A7
Tritanopia (blue-blind)
#9F4C6D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d3aaa;
/* rgb */ color: rgb(157, 58, 170);
/* oklch */ color: oklch(53.2% 0.189 322.9);
Tailwind
colors: {
  custom: {
    50: '#bd78c4',
    500: '#9d3aaa',
    950: '#000000',
  },
}
SCSS
$custom: #9d3aaa;
$custom-light: #bd78c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3aaa",
  "rgb": {
    "r": 157,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 293.036,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53205,
    "c": 0.18862,
    "h": 322.9
  },
  "luminance": 0.13096
}

Semantic roles & 50–950 ramp

primary
#9D3AAA
secondary
#87C17F
accent
#D94F5F
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9D3AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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