#9B5DE9#9B5DE9

#9B5DE9 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.4% C 0.204 H 301.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9B5DE9
RGBrgb(155, 93, 233)
HSLhsl(267, 76%, 64%)
HSVhsv(267, 60%, 91%)
CMYKcmyk(33.5%, 60.1%, 0%, 8.6%)
CIE-LABlab(52.60, 52.65, -61.73)
CIE-LCHlch(52.60, 81.13, 310.46°)
OKLaboklab(61.39% 0.105 -0.1751)
OKLCHoklch(61.39% 0.204 301)
XYZxyz(32.1364, 20.6803, 79.3736)
Luminance0.2068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5DE9 #ABE95D
analogous
#5D65E9 #9B5DE9 #E15DE9
triadic
#9B5DE9 #E99B5D #5DE99B
tetradic
#9B5DE9 #E95D65 #ABE95D #5DE9E1
square
#9B5DE9 #E95D65 #ABE95D #5DE9E1
split-complementary
#9B5DE9 #E9E15D #65E95D
monochromatic
#5D18B3 #7A27E2 #9B5DE9 #BC93F0 #DEC9F8

Accessibility & contrast

On white

4.09
#9B5DE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#9B5DE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5DE9
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5DE9#FFFFFF#000000##000000
##9B5DE91.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DED
Deuteranopia (green-blind)
#2F7DE6
Tritanopia (blue-blind)
#8B7B9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9b5de9;
/* rgb */ color: rgb(155, 93, 233);
/* oklch */ color: oklch(61.4% 0.204 301.0);
Tailwind
colors: {
  custom: {
    50: '#bd8ef1',
    500: '#9b5de9',
    950: '#000000',
  },
}
SCSS
$custom: #9b5de9;
$custom-light: #bd8ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5de9",
  "rgb": {
    "r": 155,
    "g": 93,
    "b": 233
  },
  "hsl": {
    "h": 266.571,
    "s": 76.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61391,
    "c": 0.20418,
    "h": 301
  },
  "luminance": 0.2068
}

Semantic roles & 50–950 ramp

primary
#9B5DE9
secondary
#D4E9B8
accent
#D80D7E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9B5DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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