#9B5EEB#9B5EEB

#9B5EEB is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.7% C 0.205 H 300.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9B5EEB
RGBrgb(155, 94, 235)
HSLhsl(266, 78%, 65%)
HSVhsv(266, 60%, 92%)
CMYKcmyk(34%, 60%, 0%, 7.8%)
CIE-LABlab(52.92, 52.62, -62.33)
CIE-LCHlch(52.92, 81.57, 310.17°)
OKLaboklab(61.67% 0.1038 -0.1769)
OKLCHoklch(61.67% 0.205 300.4)
XYZxyz(32.5121, 20.9719, 80.9163)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5EEB #AEEB5E
analogous
#5E68EB #9B5EEB #E15EEB
triadic
#9B5EEB #EB9B5E #5EEB9B
tetradic
#9B5EEB #EB5E68 #AEEB5E #5EEBE1
square
#9B5EEB #EB5E68 #AEEB5E #5EEBE1
split-complementary
#9B5EEB #EBE15E #68EB5E
monochromatic
#5C17B8 #7928E4 #9B5EEB #BD94F2 #DFCBF9

Accessibility & contrast

On white

4.04
#9B5EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#9B5EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5EEB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5EEB#FFFFFF#000000##000000
##9B5EEB1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF0
Deuteranopia (green-blind)
#2E7DE8
Tritanopia (blue-blind)
#8A7C9C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9b5eeb;
/* rgb */ color: rgb(155, 94, 235);
/* oklch */ color: oklch(61.7% 0.205 300.4);
Tailwind
colors: {
  custom: {
    50: '#bd8ef2',
    500: '#9b5eeb',
    950: '#000000',
  },
}
SCSS
$custom: #9b5eeb;
$custom-light: #bd8ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5eeb",
  "rgb": {
    "r": 155,
    "g": 94,
    "b": 235
  },
  "hsl": {
    "h": 265.957,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61665,
    "c": 0.20508,
    "h": 300.4
  },
  "luminance": 0.20972
}

Semantic roles & 50–950 ramp

primary
#9B5EEB
secondary
#D6EBBA
accent
#DA0B81
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9B5EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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