#9B4DD8#9B4DD8

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

Color values

HEX#9B4DD8
RGBrgb(155, 77, 216)
HSLhsl(274, 64%, 57%)
HSVhsv(274, 64%, 85%)
CMYKcmyk(28.2%, 64.4%, 0%, 15.3%)
CIE-LABlab(48.55, 56.66, -58.62)
CIE-LCHlch(48.55, 81.53, 314.03°)
OKLaboklab(58.12% 0.1243 -0.1659)
OKLCHoklch(58.12% 0.207 306.8)
XYZxyz(28.5635, 17.2345, 66.7743)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4DD8 #8AD84D
analogous
#564DD8 #9B4DD8 #D84DCF
triadic
#9B4DD8 #D89B4D #4DD89B
tetradic
#9B4DD8 #D8564D #8AD84D #4DCFD8
square
#9B4DD8 #D8564D #8AD84D #4DCFD8
split-complementary
#9B4DD8 #CFD84D #4DD856
monochromatic
#5C1F8C #7D2ABE #9B4DD8 #B77FE3 #D3B1EE

Accessibility & contrast

On white

4.72
#9B4DD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9B4DD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4DD8
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4DD8#FFFFFF#000000##FFFFFF
##9B4DD81.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#2E74D5
Tritanopia (blue-blind)
#916A8C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9b4dd8;
/* rgb */ color: rgb(155, 77, 216);
/* oklch */ color: oklch(58.1% 0.207 306.8);
Tailwind
colors: {
  custom: {
    50: '#bd83e5',
    500: '#9b4dd8',
    950: '#000000',
  },
}
SCSS
$custom: #9b4dd8;
$custom-light: #bd83e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4dd8",
  "rgb": {
    "r": 155,
    "g": 77,
    "b": 216
  },
  "hsl": {
    "h": 273.669,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58115,
    "c": 0.20734,
    "h": 306.8
  },
  "luminance": 0.17234
}

Semantic roles & 50–950 ramp

primary
#9B4DD8
secondary
#BDDCA4
accent
#E7418A
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9B4DD8

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

Preview Lab → · Contrast checker → · Palette generator →

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