#9B5DEB#9B5DEB

#9B5DEB is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.5% C 0.206 H 300.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9B5DEB
RGBrgb(155, 93, 235)
HSLhsl(266, 78%, 64%)
HSVhsv(266, 60%, 92%)
CMYKcmyk(34%, 60.4%, 0%, 7.8%)
CIE-LABlab(52.72, 53.14, -62.64)
CIE-LCHlch(52.72, 82.15, 310.31°)
OKLaboklab(61.52% 0.105 -0.1778)
OKLCHoklch(61.52% 0.206 300.6)
XYZxyz(32.4237, 20.7952, 80.8868)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5DEB #ADEB5D
analogous
#5D66EB #9B5DEB #E25DEB
triadic
#9B5DEB #EB9B5D #5DEB9B
tetradic
#9B5DEB #EB5D66 #ADEB5D #5DEBE2
square
#9B5DEB #EB5D66 #ADEB5D #5DEBE2
split-complementary
#9B5DEB #EBE25D #66EB5D
monochromatic
#5D17B7 #7927E4 #9B5DEB #BD93F2 #DECAF8

Accessibility & contrast

On white

4.07
#9B5DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#9B5DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5DEB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5DEB#FFFFFF#000000##000000
##9B5DEB1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b5deb;
/* rgb */ color: rgb(155, 93, 235);
/* oklch */ color: oklch(61.5% 0.206 300.6);
Tailwind
colors: {
  custom: {
    50: '#bd8ef2',
    500: '#9b5deb',
    950: '#000000',
  },
}
SCSS
$custom: #9b5deb;
$custom-light: #bd8ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5deb",
  "rgb": {
    "r": 155,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 266.197,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61524,
    "c": 0.20646,
    "h": 300.6
  },
  "luminance": 0.20795
}

Semantic roles & 50–950 ramp

primary
#9B5DEB
secondary
#D5EBB9
accent
#DA0B80
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B5DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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