#9B5DBE#9B5DBE

#9B5DBE is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.8% C 0.155 H 312.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9B5DBE
RGBrgb(155, 93, 190)
HSLhsl(278, 43%, 55%)
HSVhsv(278, 51%, 75%)
CMYKcmyk(18.4%, 51.1%, 0%, 25.5%)
CIE-LABlab(50.12, 42.58, -41.20)
CIE-LCHlch(50.12, 59.25, 315.95°)
OKLaboklab(58.77% 0.1037 -0.115)
OKLCHoklch(58.77% 0.155 312)
XYZxyz(26.7246, 18.5155, 50.8713)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5DBE #80BE5D
analogous
#6B5DBE #9B5DBE #BE5DB0
triadic
#9B5DBE #BE9B5D #5DBE9B
tetradic
#9B5DBE #BE6B5D #80BE5D #5DB0BE
square
#9B5DBE #BE6B5D #80BE5D #5DB0BE
split-complementary
#9B5DBE #B0BE5D #5DBE6B
monochromatic
#5A2E73 #7C409E #9B5DBE #B689D0 #D1B4E1

Accessibility & contrast

On white

4.47
#9B5DBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#9B5DBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5DBE
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5DBE#FFFFFF#000000##000000
##9B5DBE1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4574C1
Deuteranopia (green-blind)
#5879BB
Tritanopia (blue-blind)
#976D85
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9b5dbe;
/* rgb */ color: rgb(155, 93, 190);
/* oklch */ color: oklch(58.8% 0.155 312.0);
Tailwind
colors: {
  custom: {
    50: '#bb8dd2',
    500: '#9b5dbe',
    950: '#000000',
  },
}
SCSS
$custom: #9b5dbe;
$custom-light: #bb8dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5dbe",
  "rgb": {
    "r": 155,
    "g": 93,
    "b": 190
  },
  "hsl": {
    "h": 278.351,
    "s": 42.731,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58769,
    "c": 0.15487,
    "h": 312
  },
  "luminance": 0.18515
}

Semantic roles & 50–950 ramp

primary
#9B5DBE
secondary
#B6D0A7
accent
#D35582
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9B5DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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