#9B5BE6#9B5BE6

#9B5BE6 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.9% C 0.204 H 301.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9B5BE6
RGBrgb(155, 91, 230)
HSLhsl(268, 74%, 63%)
HSVhsv(268, 60%, 90%)
CMYKcmyk(32.6%, 60.4%, 0%, 9.8%)
CIE-LABlab(52.02, 52.96, -60.97)
CIE-LCHlch(52.02, 80.75, 310.98°)
OKLaboklab(60.91% 0.1075 -0.1729)
OKLCHoklch(60.91% 0.204 301.9)
XYZxyz(31.5382, 20.1638, 77.0780)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5BE6 #A6E65B
analogous
#5B60E6 #9B5BE6 #E15BE6
triadic
#9B5BE6 #E69B5B #5BE69B
tetradic
#9B5BE6 #E65B60 #A6E65B #5BE6E1
square
#9B5BE6 #E65B60 #A6E65B #5BE6E1
split-complementary
#9B5BE6 #E6E15B #60E65B
monochromatic
#5E1AAC #7B26DE #9B5BE6 #BB90EE #DCC5F6

Accessibility & contrast

On white

4.17
#9B5BE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#9B5BE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5BE6
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5BE6#FFFFFF#000000##000000
##9B5BE61.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEA
Deuteranopia (green-blind)
#307BE3
Tritanopia (blue-blind)
#8C7898
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9b5be6;
/* rgb */ color: rgb(155, 91, 230);
/* oklch */ color: oklch(60.9% 0.204 301.9);
Tailwind
colors: {
  custom: {
    50: '#bd8cef',
    500: '#9b5be6',
    950: '#000000',
  },
}
SCSS
$custom: #9b5be6;
$custom-light: #bd8cef;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5be6",
  "rgb": {
    "r": 155,
    "g": 91,
    "b": 230
  },
  "hsl": {
    "h": 267.626,
    "s": 73.545,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60911,
    "c": 0.20354,
    "h": 301.9
  },
  "luminance": 0.20164
}

Semantic roles & 50–950 ramp

primary
#9B5BE6
secondary
#D0E7B5
accent
#D6107B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9B5BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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