#9B5EBE#9B5EBE

#9B5EBE is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.9% C 0.153 H 311.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9B5EBE
RGBrgb(155, 94, 190)
HSLhsl(278, 42%, 56%)
HSVhsv(278, 51%, 75%)
CMYKcmyk(18.4%, 50.5%, 0%, 25.5%)
CIE-LABlab(50.33, 42.04, -40.87)
CIE-LCHlch(50.33, 58.63, 315.81°)
OKLaboklab(58.92% 0.1023 -0.1141)
OKLCHoklch(58.92% 0.153 311.9)
XYZxyz(26.8129, 18.6922, 50.9007)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5EBE #81BE5E
analogous
#6B5EBE #9B5EBE #BE5EB1
triadic
#9B5EBE #BE9B5E #5EBE9B
tetradic
#9B5EBE #BE6B5E #81BE5E #5EB1BE
square
#9B5EBE #BE6B5E #81BE5E #5EB1BE
split-complementary
#9B5EBE #B1BE5E #5EBE6B
monochromatic
#5A2E73 #7C409F #9B5EBE #B68AD0 #D1B5E1

Accessibility & contrast

On white

4.43
#9B5EBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#9B5EBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5EBE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5EBE#FFFFFF#000000##000000
##9B5EBE1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4775C1
Deuteranopia (green-blind)
#5979BB
Tritanopia (blue-blind)
#976E85
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9b5ebe;
/* rgb */ color: rgb(155, 94, 190);
/* oklch */ color: oklch(58.9% 0.153 311.9);
Tailwind
colors: {
  custom: {
    50: '#ba8dd2',
    500: '#9b5ebe',
    950: '#000000',
  },
}
SCSS
$custom: #9b5ebe;
$custom-light: #ba8dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5ebe",
  "rgb": {
    "r": 155,
    "g": 94,
    "b": 190
  },
  "hsl": {
    "h": 278.125,
    "s": 42.478,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58924,
    "c": 0.15322,
    "h": 311.9
  },
  "luminance": 0.18692
}

Semantic roles & 50–950 ramp

primary
#9B5EBE
secondary
#B6D0A8
accent
#D25683
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9B5EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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