#9B4BD1#9B4BD1

#9B4BD1 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.4% C 0.203 H 308.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#9B4BD1
RGBrgb(155, 75, 209)
HSLhsl(276, 59%, 56%)
HSVhsv(276, 64%, 82%)
CMYKcmyk(25.8%, 64.1%, 0%, 18%)
CIE-LABlab(47.76, 56.04, -55.90)
CIE-LCHlch(47.76, 79.15, 315.07°)
OKLaboklab(57.4% 0.1271 -0.1579)
OKLCHoklch(57.4% 0.203 308.8)
XYZxyz(27.5400, 16.6046, 62.0635)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4BD1 #81D14B
analogous
#584BD1 #9B4BD1 #D14BC4
triadic
#9B4BD1 #D19B4B #4BD19B
tetradic
#9B4BD1 #D1584B #81D14B #4BC4D1
square
#9B4BD1 #D1584B #81D14B #4BC4D1
split-complementary
#9B4BD1 #C4D14B #4BD158
monochromatic
#5A2181 #7C2DB1 #9B4BD1 #B67CDD #D1ACEA

Accessibility & contrast

On white

4.86
#9B4BD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#9B4BD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4BD1
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4BD1#FFFFFF#000000##FFFFFF
##9B4BD11.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED5
Deuteranopia (green-blind)
#3572CE
Tritanopia (blue-blind)
#936687
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9b4bd1;
/* rgb */ color: rgb(155, 75, 209);
/* oklch */ color: oklch(57.4% 0.203 308.8);
Tailwind
colors: {
  custom: {
    50: '#bc82e0',
    500: '#9b4bd1',
    950: '#000000',
  },
}
SCSS
$custom: #9b4bd1;
$custom-light: #bc82e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4bd1",
  "rgb": {
    "r": 155,
    "g": 75,
    "b": 209
  },
  "hsl": {
    "h": 275.821,
    "s": 59.292,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57398,
    "c": 0.2027,
    "h": 308.8
  },
  "luminance": 0.16604
}

Semantic roles & 50–950 ramp

primary
#9B4BD1
secondary
#B6D8A0
accent
#E24585
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B4BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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