#9B5BDD#9B5BDD

#9B5BDD is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.3% C 0.193 H 303.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9B5BDD
RGBrgb(155, 91, 221)
HSLhsl(270, 66%, 61%)
HSVhsv(270, 59%, 87%)
CMYKcmyk(29.9%, 58.8%, 0%, 13.3%)
CIE-LABlab(51.46, 50.80, -56.78)
CIE-LCHlch(51.46, 76.19, 311.82°)
OKLaboklab(60.33% 0.1077 -0.1606)
OKLCHoklch(60.33% 0.193 303.9)
XYZxyz(30.3069, 19.6713, 70.5929)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5BDD #9DDD5B
analogous
#5B5CDD #9B5BDD #DC5BDD
triadic
#9B5BDD #DD9B5B #5BDD9B
tetradic
#9B5BDD #DD5B5C #9DDD5B #5BDDDC
square
#9B5BDD #DD5B5C #9DDD5B #5BDDDC
split-complementary
#9B5BDD #DDDC5B #5CDD5B
monochromatic
#5E219D #7C2BD0 #9B5BDD #BA8EE8 #D9C0F2

Accessibility & contrast

On white

4.26
#9B5BDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#9B5BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5BDD
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5BDD#FFFFFF#000000##000000
##9B5BDD1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C79E1
Deuteranopia (green-blind)
#3C7BDA
Tritanopia (blue-blind)
#8F7593
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9b5bdd;
/* rgb */ color: rgb(155, 91, 221);
/* oklch */ color: oklch(60.3% 0.193 303.9);
Tailwind
colors: {
  custom: {
    50: '#bc8ce8',
    500: '#9b5bdd',
    950: '#000000',
  },
}
SCSS
$custom: #9b5bdd;
$custom-light: #bc8ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5bdd",
  "rgb": {
    "r": 155,
    "g": 91,
    "b": 221
  },
  "hsl": {
    "h": 269.538,
    "s": 65.657,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60326,
    "c": 0.19334,
    "h": 303.9
  },
  "luminance": 0.19671
}

Semantic roles & 50–950 ramp

primary
#9B5BDD
secondary
#CAE2B1
accent
#CE1874
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9B5BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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