#9B5ABE#9B5ABE

#9B5ABE is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.3% C 0.160 H 312.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9B5ABE
RGBrgb(155, 90, 190)
HSLhsl(279, 43%, 55%)
HSVhsv(279, 53%, 75%)
CMYKcmyk(18.4%, 52.6%, 0%, 25.5%)
CIE-LABlab(49.50, 44.20, -42.18)
CIE-LCHlch(49.50, 61.10, 316.34°)
OKLaboklab(58.31% 0.1078 -0.1179)
OKLCHoklch(58.31% 0.16 312.5)
XYZxyz(26.4664, 17.9992, 50.7852)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5ABE #7DBE5A
analogous
#695ABE #9B5ABE #BE5AAF
triadic
#9B5ABE #BE9B5A #5ABE9B
tetradic
#9B5ABE #BE695A #7DBE5A #5AAFBE
square
#9B5ABE #BE695A #7DBE5A #5AAFBE
split-complementary
#9B5ABE #AFBE5A #5ABE69
monochromatic
#592D71 #7C3E9D #9B5ABE #B686CF #D0B2E1

Accessibility & contrast

On white

4.57
#9B5ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#9B5ABE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5ABE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5ABE#FFFFFF#000000##000000
##9B5ABE1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4072C1
Deuteranopia (green-blind)
#5577BB
Tritanopia (blue-blind)
#976A83
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9b5abe;
/* rgb */ color: rgb(155, 90, 190);
/* oklch */ color: oklch(58.3% 0.160 312.5);
Tailwind
colors: {
  custom: {
    50: '#bb8bd2',
    500: '#9b5abe',
    950: '#000000',
  },
}
SCSS
$custom: #9b5abe;
$custom-light: #bb8bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5abe",
  "rgb": {
    "r": 155,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 279,
    "s": 43.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58311,
    "c": 0.15975,
    "h": 312.5
  },
  "luminance": 0.17999
}

Semantic roles & 50–950 ramp

primary
#9B5ABE
secondary
#B4CFA5
accent
#D35581
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9B5ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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