#9B4AAA#9B4AAA

#9B4AAA is a mid, vivid purple. Relative luminance 0.148; OKLCH L 54.9% C 0.164 H 321.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9B4AAA
RGBrgb(155, 74, 170)
HSLhsl(291, 39%, 48%)
HSVhsv(291, 56%, 67%)
CMYKcmyk(8.8%, 56.5%, 0%, 33.3%)
CIE-LABlab(45.32, 48.28, -37.10)
CIE-LCHlch(45.32, 60.89, 322.46°)
OKLaboklab(54.9% 0.1279 -0.103)
OKLCHoklch(54.9% 0.164 321.2)
XYZxyz(23.2212, 14.7695, 39.6500)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4AAA #59AA4A
analogous
#6B4AAA #9B4AAA #AA4A89
triadic
#9B4AAA #AA9B4A #4AAA9B
tetradic
#9B4AAA #AA6B4A #59AA4A #4A89AA
square
#9B4AAA #AA6B4A #59AA4A #4A89AA
split-complementary
#9B4AAA #89AA4A #4AAA6B
monochromatic
#4D2555 #74377F #9B4AAA #B470C1 #CB9BD3

Accessibility & contrast

On white

5.31
#9B4AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9B4AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4AAA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4AAA#FFFFFF#000000##FFFFFF
##9B4AAA1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3865AD
Deuteranopia (green-blind)
#546EA7
Tritanopia (blue-blind)
#9C5873
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9b4aaa;
/* rgb */ color: rgb(155, 74, 170);
/* oklch */ color: oklch(54.9% 0.164 321.2);
Tailwind
colors: {
  custom: {
    50: '#bb81c4',
    500: '#9b4aaa',
    950: '#000000',
  },
}
SCSS
$custom: #9b4aaa;
$custom-light: #bb81c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4aaa",
  "rgb": {
    "r": 155,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 290.625,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54895,
    "c": 0.16423,
    "h": 321.2
  },
  "luminance": 0.14768
}

Semantic roles & 50–950 ramp

primary
#9B4AAA
secondary
#97C090
accent
#CF596B
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120A12
muted
#817C81

Preview Lab

Preview with #9B4AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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