#9B5AE1#9B5AE1

#9B5AE1 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.4% C 0.199 H 303.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9B5AE1
RGBrgb(155, 90, 225)
HSLhsl(269, 69%, 62%)
HSVhsv(269, 60%, 88%)
CMYKcmyk(31.1%, 60%, 0%, 11.8%)
CIE-LABlab(51.52, 52.27, -58.96)
CIE-LCHlch(51.52, 78.80, 311.56°)
OKLaboklab(60.44% 0.1088 -0.167)
OKLCHoklch(60.44% 0.199 303.1)
XYZxyz(30.7612, 19.7172, 73.4048)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5AE1 #A0E15A
analogous
#5A5DE1 #9B5AE1 #DF5AE1
triadic
#9B5AE1 #E19B5A #5AE19B
tetradic
#9B5AE1 #E15A5D #A0E15A #5AE1DF
square
#9B5AE1 #E15A5D #A0E15A #5AE1DF
split-complementary
#9B5AE1 #E1DF5A #5DE15A
monochromatic
#5E1EA3 #7C27D7 #9B5AE1 #BA8EEA #DAC2F4

Accessibility & contrast

On white

4.25
#9B5AE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#9B5AE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5AE1
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5AE1#FFFFFF#000000##000000
##9B5AE11.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B79E5
Deuteranopia (green-blind)
#367ADE
Tritanopia (blue-blind)
#8E7695
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9b5ae1;
/* rgb */ color: rgb(155, 90, 225);
/* oklch */ color: oklch(60.4% 0.199 303.1);
Tailwind
colors: {
  custom: {
    50: '#bd8ceb',
    500: '#9b5ae1',
    950: '#000000',
  },
}
SCSS
$custom: #9b5ae1;
$custom-light: #bd8ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5ae1",
  "rgb": {
    "r": 155,
    "g": 90,
    "b": 225
  },
  "hsl": {
    "h": 268.889,
    "s": 69.231,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60443,
    "c": 0.1993,
    "h": 303.1
  },
  "luminance": 0.19717
}

Semantic roles & 50–950 ramp

primary
#9B5AE1
secondary
#CCE4B2
accent
#D11476
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9B5AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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