#9B3EAD#9B3EAD

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

Color values

HEX#9B3EAD
RGBrgb(155, 62, 173)
HSLhsl(290, 47%, 46%)
HSVhsv(290, 64%, 68%)
CMYKcmyk(10.4%, 64.2%, 0%, 32.2%)
CIE-LABlab(43.41, 54.53, -41.90)
CIE-LCHlch(43.41, 68.77, 322.46°)
OKLaboklab(53.56% 0.1433 -0.1169)
OKLCHoklch(53.56% 0.185 320.8)
XYZxyz(22.7821, 13.4321, 40.9197)
Luminance0.1343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3EAD #50AD3E
analogous
#633EAD #9B3EAD #AD3E87
triadic
#9B3EAD #AD9B3E #3EAD9B
tetradic
#9B3EAD #AD633E #50AD3E #3E87AD
square
#9B3EAD #AD633E #50AD3E #3E87AD
split-complementary
#9B3EAD #87AD3E #3EAD63
monochromatic
#4A1E53 #732E80 #9B3EAD #B662C7 #CB8FD7

Accessibility & contrast

On white

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

On black

3.69
#9B3EAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9B3EAD#FFFFFF#000000##FFFFFF
##9B3EAD1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2160B0
Deuteranopia (green-blind)
#496AAA
Tritanopia (blue-blind)
#9C5070
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9b3ead;
/* rgb */ color: rgb(155, 62, 173);
/* oklch */ color: oklch(53.6% 0.185 320.8);
Tailwind
colors: {
  custom: {
    50: '#bb7ac6',
    500: '#9b3ead',
    950: '#000000',
  },
}
SCSS
$custom: #9b3ead;
$custom-light: #bb7ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3ead",
  "rgb": {
    "r": 155,
    "g": 62,
    "b": 173
  },
  "hsl": {
    "h": 290.27,
    "s": 47.234,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53558,
    "c": 0.18495,
    "h": 320.8
  },
  "luminance": 0.13431
}

Semantic roles & 50–950 ramp

primary
#9B3EAD
secondary
#8FC285
accent
#D75167
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9B3EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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