#9B3AB2#9B3AB2

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

Color values

HEX#9B3AB2
RGBrgb(155, 58, 178)
HSLhsl(289, 51%, 46%)
HSVhsv(289, 67%, 70%)
CMYKcmyk(12.9%, 67.4%, 0%, 30.2%)
CIE-LABlab(43.08, 57.23, -45.38)
CIE-LCHlch(43.08, 73.04, 321.59°)
OKLaboklab(53.42% 0.1479 -0.127)
OKLCHoklch(53.42% 0.195 319.3)
XYZxyz(23.0655, 13.2101, 43.4457)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3AB2 #51B23A
analogous
#5F3AB2 #9B3AB2 #B23A8D
triadic
#9B3AB2 #B29B3A #3AB29B
tetradic
#9B3AB2 #B25F3A #51B23A #3A8DB2
square
#9B3AB2 #B25F3A #51B23A #3A8DB2
split-complementary
#9B3AB2 #8DB23A #3AB25F
monochromatic
#4B1C56 #732B84 #9B3AB2 #B65FCB #CB8DDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B3AB2#FFFFFF#000000##FFFFFF
##9B3AB21.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)
#0B5FB6
Deuteranopia (green-blind)
#4369AF
Tritanopia (blue-blind)
#9B5071
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9b3ab2;
/* rgb */ color: rgb(155, 58, 178);
/* oklch */ color: oklch(53.4% 0.195 319.3);
Tailwind
colors: {
  custom: {
    50: '#bc78ca',
    500: '#9b3ab2',
    950: '#000000',
  },
}
SCSS
$custom: #9b3ab2;
$custom-light: #bc78ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3ab2",
  "rgb": {
    "r": 155,
    "g": 58,
    "b": 178
  },
  "hsl": {
    "h": 288.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53415,
    "c": 0.19495,
    "h": 319.3
  },
  "luminance": 0.13209
}

Semantic roles & 50–950 ramp

primary
#9B3AB2
secondary
#90C483
accent
#DA4D68
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B3AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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