#9B5DE8#9B5DE8

#9B5DE8 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.3% C 0.203 H 301.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9B5DE8
RGBrgb(155, 93, 232)
HSLhsl(267, 75%, 64%)
HSVhsv(267, 60%, 91%)
CMYKcmyk(33.2%, 59.9%, 0%, 9%)
CIE-LABlab(52.53, 52.41, -61.27)
CIE-LCHlch(52.53, 80.62, 310.54°)
OKLaboklab(61.33% 0.1051 -0.1737)
OKLCHoklch(61.33% 0.203 301.2)
XYZxyz(31.9940, 20.6233, 78.6234)
Luminance0.2062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5DE8 #AAE85D
analogous
#5D64E8 #9B5DE8 #E15DE8
triadic
#9B5DE8 #E89B5D #5DE89B
tetradic
#9B5DE8 #E85D64 #AAE85D #5DE8E1
square
#9B5DE8 #E85D64 #AAE85D #5DE8E1
split-complementary
#9B5DE8 #E8E15D #64E85D
monochromatic
#5D19B1 #7A27E0 #9B5DE8 #BC93F0 #DDC8F7

Accessibility & contrast

On white

4.10
#9B5DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#9B5DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5DE8
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5DE8#FFFFFF#000000##000000
##9B5DE81.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEC
Deuteranopia (green-blind)
#317DE5
Tritanopia (blue-blind)
#8B7A9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9b5de8;
/* rgb */ color: rgb(155, 93, 232);
/* oklch */ color: oklch(61.3% 0.203 301.2);
Tailwind
colors: {
  custom: {
    50: '#bd8ef0',
    500: '#9b5de8',
    950: '#000000',
  },
}
SCSS
$custom: #9b5de8;
$custom-light: #bd8ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5de8",
  "rgb": {
    "r": 155,
    "g": 93,
    "b": 232
  },
  "hsl": {
    "h": 266.763,
    "s": 75.135,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61325,
    "c": 0.20304,
    "h": 301.2
  },
  "luminance": 0.20623
}

Semantic roles & 50–950 ramp

primary
#9B5DE8
secondary
#D3E9B8
accent
#D70E7E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9B5DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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