#9B4BDC#9B4BDC

#9B4BDC is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.1% C 0.214 H 306.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9B4BDC
RGBrgb(155, 75, 220)
HSLhsl(273, 67%, 58%)
HSVhsv(273, 66%, 86%)
CMYKcmyk(29.5%, 65.9%, 0%, 13.7%)
CIE-LABlab(48.47, 58.52, -61.03)
CIE-LCHlch(48.47, 84.55, 313.79°)
OKLaboklab(58.14% 0.1262 -0.173)
OKLCHoklch(58.14% 0.214 306.1)
XYZxyz(28.9491, 17.1683, 69.4850)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4BDC #8CDC4B
analogous
#524BDC #9B4BDC #DC4BD5
triadic
#9B4BDC #DC9B4B #4BDC9B
tetradic
#9B4BDC #DC524B #8CDC4B #4BD5DC
square
#9B4BDC #DC524B #8CDC4B #4BD5DC
split-complementary
#9B4BDC #D5DC4B #4BDC52
monochromatic
#5C1C91 #7D26C4 #9B4BDC #B77EE6 #D4B1F0

Accessibility & contrast

On white

4.74
#9B4BDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#9B4BDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4BDC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4BDC#FFFFFF#000000##FFFFFF
##9B4BDC1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#2474D9
Tritanopia (blue-blind)
#906A8D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9b4bdc;
/* rgb */ color: rgb(155, 75, 220);
/* oklch */ color: oklch(58.1% 0.214 306.1);
Tailwind
colors: {
  custom: {
    50: '#bd82e8',
    500: '#9b4bdc',
    950: '#000000',
  },
}
SCSS
$custom: #9b4bdc;
$custom-light: #bd82e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4bdc",
  "rgb": {
    "r": 155,
    "g": 75,
    "b": 220
  },
  "hsl": {
    "h": 273.103,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58139,
    "c": 0.21415,
    "h": 306.1
  },
  "luminance": 0.17168
}

Semantic roles & 50–950 ramp

primary
#9B4BDC
secondary
#BEDEA4
accent
#EA3D8B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B4BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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