#9B4BDB#9B4BDB

#9B4BDB is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.1% C 0.213 H 306.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9B4BDB
RGBrgb(155, 75, 219)
HSLhsl(273, 67%, 58%)
HSVhsv(273, 66%, 86%)
CMYKcmyk(29.2%, 65.8%, 0%, 14.1%)
CIE-LABlab(48.41, 58.29, -60.57)
CIE-LCHlch(48.41, 84.06, 313.90°)
OKLaboklab(58.07% 0.1263 -0.1716)
OKLCHoklch(58.07% 0.213 306.4)
XYZxyz(28.8171, 17.1155, 68.7896)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4BDB #8BDB4B
analogous
#534BDB #9B4BDB #DB4BD3
triadic
#9B4BDB #DB9B4B #4BDB9B
tetradic
#9B4BDB #DB534B #8BDB4B #4BD3DB
square
#9B4BDB #DB534B #8BDB4B #4BD3DB
split-complementary
#9B4BDB #D3DB4B #4BDB53
monochromatic
#5C1D8F #7D27C2 #9B4BDB #B77EE5 #D4B1EF

Accessibility & contrast

On white

4.75
#9B4BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9B4BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4BDB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4BDB#FFFFFF#000000##FFFFFF
##9B4BDB1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#2673D8
Tritanopia (blue-blind)
#906A8D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9b4bdb;
/* rgb */ color: rgb(155, 75, 219);
/* oklch */ color: oklch(58.1% 0.213 306.4);
Tailwind
colors: {
  custom: {
    50: '#bd82e7',
    500: '#9b4bdb',
    950: '#000000',
  },
}
SCSS
$custom: #9b4bdb;
$custom-light: #bd82e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4bdb",
  "rgb": {
    "r": 155,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 273.333,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5807,
    "c": 0.2131,
    "h": 306.4
  },
  "luminance": 0.17115
}

Semantic roles & 50–950 ramp

primary
#9B4BDB
secondary
#BEDEA4
accent
#EA3E8A
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B4BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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