#9B5ACE#9B5ACE

#9B5ACE is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.2% C 0.178 H 307.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9B5ACE
RGBrgb(155, 90, 206)
HSLhsl(274, 54%, 58%)
HSVhsv(274, 56%, 81%)
CMYKcmyk(24.8%, 56.3%, 0%, 19.2%)
CIE-LABlab(50.38, 47.81, -49.98)
CIE-LCHlch(50.38, 69.17, 313.73°)
OKLaboklab(59.25% 0.1088 -0.1406)
OKLCHoklch(59.25% 0.178 307.7)
XYZxyz(28.3121, 18.7375, 60.5058)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5ACE #8DCE5A
analogous
#615ACE #9B5ACE #CE5AC7
triadic
#9B5ACE #CE9B5A #5ACE9B
tetradic
#9B5ACE #CE615A #8DCE5A #5AC7CE
square
#9B5ACE #CE615A #8DCE5A #5AC7CE
split-complementary
#9B5ACE #C7CE5A #5ACE61
monochromatic
#5C2886 #7D36B5 #9B5ACE #B889DC #D4B8EA

Accessibility & contrast

On white

4.42
#9B5ACE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#9B5ACE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5ACE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5ACE#FFFFFF#000000##000000
##9B5ACE1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3175D2
Deuteranopia (green-blind)
#4A79CB
Tritanopia (blue-blind)
#93708B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9b5ace;
/* rgb */ color: rgb(155, 90, 206);
/* oklch */ color: oklch(59.2% 0.178 307.7);
Tailwind
colors: {
  custom: {
    50: '#bb8bdd',
    500: '#9b5ace',
    950: '#000000',
  },
}
SCSS
$custom: #9b5ace;
$custom-light: #bb8bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5ace",
  "rgb": {
    "r": 155,
    "g": 90,
    "b": 206
  },
  "hsl": {
    "h": 273.621,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59247,
    "c": 0.17781,
    "h": 307.7
  },
  "luminance": 0.18737
}

Semantic roles & 50–950 ramp

primary
#9B5ACE
secondary
#BFD9AB
accent
#DE4A8B
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9B5ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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