#9B4DDE#9B4DDE

#9B4DDE is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.5% C 0.214 H 305.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9B4DDE
RGBrgb(155, 77, 222)
HSLhsl(272, 69%, 59%)
HSVhsv(272, 65%, 87%)
CMYKcmyk(30.2%, 65.3%, 0%, 12.9%)
CIE-LABlab(48.95, 58.03, -61.40)
CIE-LCHlch(48.95, 84.48, 313.38°)
OKLaboklab(58.52% 0.1239 -0.1741)
OKLCHoklch(58.52% 0.214 305.4)
XYZxyz(29.3534, 17.5505, 70.9343)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4DDE #90DE4D
analogous
#524DDE #9B4DDE #DE4DD8
triadic
#9B4DDE #DE9B4D #4DDE9B
tetradic
#9B4DDE #DE524D #90DE4D #4DD8DE
square
#9B4DDE #DE524D #90DE4D #4DD8DE
split-complementary
#9B4DDE #D8DE4D #4DDE52
monochromatic
#5D1C95 #7D25C9 #9B4DDE #B881E8 #D5B4F1

Accessibility & contrast

On white

4.66
#9B4DDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#9B4DDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4DDE
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4DDE#FFFFFF#000000##FFFFFF
##9B4DDE1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E2
Deuteranopia (green-blind)
#2475DB
Tritanopia (blue-blind)
#8F6C8F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9b4dde;
/* rgb */ color: rgb(155, 77, 222);
/* oklch */ color: oklch(58.5% 0.214 305.4);
Tailwind
colors: {
  custom: {
    50: '#bd84e9',
    500: '#9b4dde',
    950: '#000000',
  },
}
SCSS
$custom: #9b4dde;
$custom-light: #bd84e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4dde",
  "rgb": {
    "r": 155,
    "g": 77,
    "b": 222
  },
  "hsl": {
    "h": 272.276,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58522,
    "c": 0.21366,
    "h": 305.4
  },
  "luminance": 0.1755
}

Semantic roles & 50–950 ramp

primary
#9B4DDE
secondary
#C1E0A7
accent
#EC3C8D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B4DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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