#9B4DDD#9B4DDD

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

Color values

HEX#9B4DDD
RGBrgb(155, 77, 221)
HSLhsl(273, 68%, 58%)
HSVhsv(273, 65%, 87%)
CMYKcmyk(29.9%, 65.2%, 0%, 13.3%)
CIE-LABlab(48.88, 57.80, -60.94)
CIE-LCHlch(48.88, 83.99, 313.48°)
OKLaboklab(58.45% 0.1239 -0.1727)
OKLCHoklch(58.45% 0.213 305.7)
XYZxyz(29.2197, 17.4970, 70.2305)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4DDD #8FDD4D
analogous
#534DDD #9B4DDD #DD4DD7
triadic
#9B4DDD #DD9B4D #4DDD9B
tetradic
#9B4DDD #DD534D #8FDD4D #4DD7DD
square
#9B4DDD #DD534D #8FDD4D #4DD7DD
split-complementary
#9B4DDD #D7DD4D #4DDD53
monochromatic
#5D1C93 #7D26C7 #9B4DDD #B880E7 #D5B4F1

Accessibility & contrast

On white

4.67
#9B4DDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9B4DDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4DDD
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4DDD#FFFFFF#000000##FFFFFF
##9B4DDD1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E1
Deuteranopia (green-blind)
#2674DA
Tritanopia (blue-blind)
#8F6C8F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9b4ddd;
/* rgb */ color: rgb(155, 77, 221);
/* oklch */ color: oklch(58.5% 0.213 305.7);
Tailwind
colors: {
  custom: {
    50: '#bd84e8',
    500: '#9b4ddd',
    950: '#000000',
  },
}
SCSS
$custom: #9b4ddd;
$custom-light: #bd84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4ddd",
  "rgb": {
    "r": 155,
    "g": 77,
    "b": 221
  },
  "hsl": {
    "h": 272.5,
    "s": 67.925,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58454,
    "c": 0.2126,
    "h": 305.7
  },
  "luminance": 0.17497
}

Semantic roles & 50–950 ramp

primary
#9B4DDD
secondary
#C1DFA6
accent
#EB3D8D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B4DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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