#9B4DD9#9B4DD9

#9B4DD9 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.2% C 0.208 H 306.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9B4DD9
RGBrgb(155, 77, 217)
HSLhsl(273, 65%, 58%)
HSVhsv(273, 65%, 85%)
CMYKcmyk(28.6%, 64.5%, 0%, 14.9%)
CIE-LABlab(48.62, 56.89, -59.09)
CIE-LCHlch(48.62, 82.02, 313.91°)
OKLaboklab(58.18% 0.1243 -0.1673)
OKLCHoklch(58.18% 0.208 306.6)
XYZxyz(28.6932, 17.2864, 67.4572)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4DD9 #8BD94D
analogous
#554DD9 #9B4DD9 #D94DD1
triadic
#9B4DD9 #D99B4D #4DD99B
tetradic
#9B4DD9 #D9554D #8BD94D #4DD1D9
square
#9B4DD9 #D9554D #8BD94D #4DD1D9
split-complementary
#9B4DD9 #D1D94D #4DD955
monochromatic
#5C1E8D #7D29C0 #9B4DD9 #B77FE4 #D4B2EF

Accessibility & contrast

On white

4.71
#9B4DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#9B4DD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4DD9
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4DD9#FFFFFF#000000##FFFFFF
##9B4DD91.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#2D74D6
Tritanopia (blue-blind)
#916B8C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9b4dd9;
/* rgb */ color: rgb(155, 77, 217);
/* oklch */ color: oklch(58.2% 0.208 306.6);
Tailwind
colors: {
  custom: {
    50: '#bd84e5',
    500: '#9b4dd9',
    950: '#000000',
  },
}
SCSS
$custom: #9b4dd9;
$custom-light: #bd84e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4dd9",
  "rgb": {
    "r": 155,
    "g": 77,
    "b": 217
  },
  "hsl": {
    "h": 273.429,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58182,
    "c": 0.20839,
    "h": 306.6
  },
  "luminance": 0.17286
}

Semantic roles & 50–950 ramp

primary
#9B4DD9
secondary
#BEDDA5
accent
#E8408A
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9B4DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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