#9B5BE0#9B5BE0

#9B5BE0 is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.5% C 0.197 H 303.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9B5BE0
RGBrgb(155, 91, 224)
HSLhsl(269, 68%, 62%)
HSVhsv(269, 59%, 88%)
CMYKcmyk(30.8%, 59.4%, 0%, 12.2%)
CIE-LABlab(51.65, 51.51, -58.19)
CIE-LCHlch(51.65, 77.71, 311.52°)
OKLaboklab(60.52% 0.1077 -0.1647)
OKLCHoklch(60.52% 0.197 303.2)
XYZxyz(30.7101, 19.8326, 72.7167)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5BE0 #A0E05B
analogous
#5B5EE0 #9B5BE0 #DD5BE0
triadic
#9B5BE0 #E09B5B #5BE09B
tetradic
#9B5BE0 #E05B5E #A0E05B #5BE0DD
square
#9B5BE0 #E05B5E #A0E05B #5BE0DD
split-complementary
#9B5BE0 #E0DD5B #5EE05B
monochromatic
#5E1FA2 #7C28D5 #9B5BE0 #BA8EEA #DAC2F3

Accessibility & contrast

On white

4.23
#9B5BE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#9B5BE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5BE0
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5BE0#FFFFFF#000000##000000
##9B5BE01.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#157AE4
Deuteranopia (green-blind)
#397BDD
Tritanopia (blue-blind)
#8E7695
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9b5be0;
/* rgb */ color: rgb(155, 91, 224);
/* oklch */ color: oklch(60.5% 0.197 303.2);
Tailwind
colors: {
  custom: {
    50: '#bd8cea',
    500: '#9b5be0',
    950: '#000000',
  },
}
SCSS
$custom: #9b5be0;
$custom-light: #bd8cea;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5be0",
  "rgb": {
    "r": 155,
    "g": 91,
    "b": 224
  },
  "hsl": {
    "h": 268.872,
    "s": 68.205,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60519,
    "c": 0.19675,
    "h": 303.2
  },
  "luminance": 0.19833
}

Semantic roles & 50–950 ramp

primary
#9B5BE0
secondary
#CCE4B3
accent
#D01576
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9B5BE0

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

Preview Lab → · Contrast checker → · Palette generator →

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