#9B5ABA#9B5ABA

#9B5ABA is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.1% C 0.155 H 313.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9B5ABA
RGBrgb(155, 90, 186)
HSLhsl(281, 41%, 54%)
HSVhsv(281, 52%, 73%)
CMYKcmyk(16.7%, 51.6%, 0%, 27.1%)
CIE-LABlab(49.29, 43.32, -40.20)
CIE-LCHlch(49.29, 59.10, 317.14°)
OKLaboklab(58.09% 0.1075 -0.1121)
OKLCHoklch(58.09% 0.155 313.8)
XYZxyz(26.0352, 17.8267, 48.5143)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5ABA #79BA5A
analogous
#6B5ABA #9B5ABA #BA5AA9
triadic
#9B5ABA #BA9B5A #5ABA9B
tetradic
#9B5ABA #BA6B5A #79BA5A #5AA9BA
square
#9B5ABA #BA6B5A #79BA5A #5AA9BA
split-complementary
#9B5ABA #A9BA5A #5ABA6B
monochromatic
#582D6C #7B3F97 #9B5ABA #B585CC #CFB0DE

Accessibility & contrast

On white

4.60
#9B5ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#9B5ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9B5ABA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5ABA#FFFFFF#000000##FFFFFF
##9B5ABA1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4371BD
Deuteranopia (green-blind)
#5877B7
Tritanopia (blue-blind)
#986982
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9b5aba;
/* rgb */ color: rgb(155, 90, 186);
/* oklch */ color: oklch(58.1% 0.155 313.8);
Tailwind
colors: {
  custom: {
    50: '#bb8bcf',
    500: '#9b5aba',
    950: '#000000',
  },
}
SCSS
$custom: #9b5aba;
$custom-light: #bb8bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5aba",
  "rgb": {
    "r": 155,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 280.625,
    "s": 41.026,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58087,
    "c": 0.15527,
    "h": 313.8
  },
  "luminance": 0.17826
}

Semantic roles & 50–950 ramp

primary
#9B5ABA
secondary
#B1CCA3
accent
#D1577E
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9B5ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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