#9B5EEA#9B5EEA

#9B5EEA is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.6% C 0.204 H 300.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9B5EEA
RGBrgb(155, 94, 234)
HSLhsl(266, 77%, 64%)
HSVhsv(266, 60%, 92%)
CMYKcmyk(33.8%, 59.8%, 0%, 8.2%)
CIE-LABlab(52.86, 52.37, -61.87)
CIE-LCHlch(52.86, 81.06, 310.25°)
OKLaboklab(61.6% 0.1038 -0.1755)
OKLCHoklch(61.6% 0.204 300.6)
XYZxyz(32.3680, 20.9143, 80.1575)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5EEA #ADEA5E
analogous
#5E67EA #9B5EEA #E15EEA
triadic
#9B5EEA #EA9B5E #5EEA9B
tetradic
#9B5EEA #EA5E67 #ADEA5E #5EEAE1
square
#9B5EEA #EA5E67 #ADEA5E #5EEAE1
split-complementary
#9B5EEA #EAE15E #67EA5E
monochromatic
#5D18B6 #7928E3 #9B5EEA #BD94F1 #DECAF8

Accessibility & contrast

On white

4.05
#9B5EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#9B5EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5EEA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5EEA#FFFFFF#000000##000000
##9B5EEA1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EEE
Deuteranopia (green-blind)
#307DE7
Tritanopia (blue-blind)
#8A7C9B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9b5eea;
/* rgb */ color: rgb(155, 94, 234);
/* oklch */ color: oklch(61.6% 0.204 300.6);
Tailwind
colors: {
  custom: {
    50: '#bd8ef1',
    500: '#9b5eea',
    950: '#000000',
  },
}
SCSS
$custom: #9b5eea;
$custom-light: #bd8ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5eea",
  "rgb": {
    "r": 155,
    "g": 94,
    "b": 234
  },
  "hsl": {
    "h": 266.143,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61599,
    "c": 0.20394,
    "h": 300.6
  },
  "luminance": 0.20914
}

Semantic roles & 50–950 ramp

primary
#9B5EEA
secondary
#D5EABA
accent
#D90C80
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9B5EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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