#9B5ABC#9B5ABC

#9B5ABC is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.2% C 0.158 H 313.1°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#9B5ABC
RGBrgb(155, 90, 188)
HSLhsl(280, 42%, 55%)
HSVhsv(280, 52%, 74%)
CMYKcmyk(17.6%, 52.1%, 0%, 26.3%)
CIE-LABlab(49.39, 43.76, -41.19)
CIE-LCHlch(49.39, 60.09, 316.73°)
OKLaboklab(58.2% 0.1077 -0.115)
OKLCHoklch(58.2% 0.158 313.1)
XYZxyz(26.2493, 17.9124, 49.6419)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5ABC #7BBC5A
analogous
#6A5ABC #9B5ABC #BC5AAC
triadic
#9B5ABC #BC9B5A #5ABC9B
tetradic
#9B5ABC #BC6A5A #7BBC5A #5AACBC
square
#9B5ABC #BC6A5A #7BBC5A #5AACBC
split-complementary
#9B5ABC #ACBC5A #5ABC6A
monochromatic
#592D6F #7B3F9A #9B5ABC #B586CE #D0B1DF

Accessibility & contrast

On white

4.58
#9B5ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9B5ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5ABC
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5ABC#FFFFFF#000000##000000
##9B5ABC1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4272BF
Deuteranopia (green-blind)
#5677B9
Tritanopia (blue-blind)
#986A82
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9b5abc;
/* rgb */ color: rgb(155, 90, 188);
/* oklch */ color: oklch(58.2% 0.158 313.1);
Tailwind
colors: {
  custom: {
    50: '#bb8bd0',
    500: '#9b5abc',
    950: '#000000',
  },
}
SCSS
$custom: #9b5abc;
$custom-light: #bb8bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5abc",
  "rgb": {
    "r": 155,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 279.796,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58198,
    "c": 0.15751,
    "h": 313.1
  },
  "luminance": 0.17912
}

Semantic roles & 50–950 ramp

primary
#9B5ABC
secondary
#B2CEA4
accent
#D25680
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9B5ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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