#9B4DD5#9B4DD5

#9B4DD5 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.9% C 0.204 H 307.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9B4DD5
RGBrgb(155, 77, 213)
HSLhsl(274, 62%, 57%)
HSVhsv(274, 64%, 84%)
CMYKcmyk(27.2%, 63.8%, 0%, 16.5%)
CIE-LABlab(48.36, 55.98, -57.22)
CIE-LCHlch(48.36, 80.05, 314.37°)
OKLaboklab(57.92% 0.1245 -0.1618)
OKLCHoklch(57.92% 0.204 307.6)
XYZxyz(28.1792, 17.0808, 64.7503)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4DD5 #87D54D
analogous
#574DD5 #9B4DD5 #D54DCB
triadic
#9B4DD5 #D59B4D #4DD59B
tetradic
#9B4DD5 #D5574D #87D54D #4DCBD5
square
#9B4DD5 #D5574D #87D54D #4DCBD5
split-complementary
#9B4DD5 #CBD54D #4DD557
monochromatic
#5B2088 #7D2CB9 #9B4DD5 #B77FE1 #D3B0EC

Accessibility & contrast

On white

4.76
#9B4DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9B4DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4DD5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4DD5#FFFFFF#000000##FFFFFF
##9B4DD51.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#3374D2
Tritanopia (blue-blind)
#92698A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9b4dd5;
/* rgb */ color: rgb(155, 77, 213);
/* oklch */ color: oklch(57.9% 0.204 307.6);
Tailwind
colors: {
  custom: {
    50: '#bd83e3',
    500: '#9b4dd5',
    950: '#000000',
  },
}
SCSS
$custom: #9b4dd5;
$custom-light: #bd83e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4dd5",
  "rgb": {
    "r": 155,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 274.412,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57915,
    "c": 0.20418,
    "h": 307.6
  },
  "luminance": 0.1708
}

Semantic roles & 50–950 ramp

primary
#9B4DD5
secondary
#BBDBA3
accent
#E54388
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #9B4DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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