#9B5DEA#9B5DEA

#9B5DEA is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.5% C 0.205 H 300.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9B5DEA
RGBrgb(155, 93, 234)
HSLhsl(266, 77%, 64%)
HSVhsv(266, 60%, 92%)
CMYKcmyk(33.8%, 60.3%, 0%, 8.2%)
CIE-LABlab(52.66, 52.89, -62.19)
CIE-LCHlch(52.66, 81.64, 310.38°)
OKLaboklab(61.46% 0.105 -0.1764)
OKLCHoklch(61.46% 0.205 300.8)
XYZxyz(32.2796, 20.7376, 80.1281)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5DEA #ACEA5D
analogous
#5D66EA #9B5DEA #E25DEA
triadic
#9B5DEA #EA9B5D #5DEA9B
tetradic
#9B5DEA #EA5D66 #ACEA5D #5DEAE2
square
#9B5DEA #EA5D66 #ACEA5D #5DEAE2
split-complementary
#9B5DEA #EAE25D #66EA5D
monochromatic
#5D17B5 #7A27E3 #9B5DEA #BC93F1 #DEC9F8

Accessibility & contrast

On white

4.08
#9B5DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#9B5DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5DEA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5DEA#FFFFFF#000000##000000
##9B5DEA1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#2E7DE7
Tritanopia (blue-blind)
#8A7B9B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9b5dea;
/* rgb */ color: rgb(155, 93, 234);
/* oklch */ color: oklch(61.5% 0.205 300.8);
Tailwind
colors: {
  custom: {
    50: '#bd8ef1',
    500: '#9b5dea',
    950: '#000000',
  },
}
SCSS
$custom: #9b5dea;
$custom-light: #bd8ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5dea",
  "rgb": {
    "r": 155,
    "g": 93,
    "b": 234
  },
  "hsl": {
    "h": 266.383,
    "s": 77.049,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61457,
    "c": 0.20531,
    "h": 300.8
  },
  "luminance": 0.20738
}

Semantic roles & 50–950 ramp

primary
#9B5DEA
secondary
#D4EAB9
accent
#D90C7F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9B5DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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