#9B5ADD#9B5ADD

#9B5ADD is a mid, vivid violet. Relative luminance 0.195; OKLCH L 60.2% C 0.195 H 304.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9B5ADD
RGBrgb(155, 90, 221)
HSLhsl(270, 66%, 61%)
HSVhsv(270, 59%, 87%)
CMYKcmyk(29.9%, 59.3%, 0%, 13.3%)
CIE-LABlab(51.27, 51.32, -57.10)
CIE-LCHlch(51.27, 76.77, 311.95°)
OKLaboklab(60.18% 0.1089 -0.1615)
OKLCHoklch(60.18% 0.195 304)
XYZxyz(30.2220, 19.5014, 70.5646)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5ADD #9CDD5A
analogous
#5A5ADD #9B5ADD #DC5ADD
triadic
#9B5ADD #DD9B5A #5ADD9B
tetradic
#9B5ADD #DD5A5A #9CDD5A #5ADDDC
square
#9B5ADD #DD5A5A #9CDD5A #5ADDDC
split-complementary
#9B5ADD #DDDC5A #5ADD5A
monochromatic
#5E209C #7C2BCF #9B5ADD #BA8DE7 #D9BFF2

Accessibility & contrast

On white

4.29
#9B5ADD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#9B5ADD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5ADD
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5ADD#FFFFFF#000000##000000
##9B5ADD1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1879E1
Deuteranopia (green-blind)
#3B7ADA
Tritanopia (blue-blind)
#8F7493
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9b5add;
/* rgb */ color: rgb(155, 90, 221);
/* oklch */ color: oklch(60.2% 0.195 304.0);
Tailwind
colors: {
  custom: {
    50: '#bc8be8',
    500: '#9b5add',
    950: '#000000',
  },
}
SCSS
$custom: #9b5add;
$custom-light: #bc8be8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5add",
  "rgb": {
    "r": 155,
    "g": 90,
    "b": 221
  },
  "hsl": {
    "h": 269.771,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60184,
    "c": 0.19478,
    "h": 304
  },
  "luminance": 0.19501
}

Semantic roles & 50–950 ramp

primary
#9B5ADD
secondary
#CAE2B1
accent
#CE1873
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9B5ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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