#9B4EAF#9B4EAF

#9B4EAF is a mid, vivid purple. Relative luminance 0.155; OKLCH L 55.7% C 0.163 H 319.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9B4EAF
RGBrgb(155, 78, 175)
HSLhsl(288, 38%, 50%)
HSVhsv(288, 55%, 69%)
CMYKcmyk(11.4%, 55.4%, 0%, 31.4%)
CIE-LABlab(46.33, 47.27, -38.45)
CIE-LCHlch(46.33, 60.94, 320.88°)
OKLaboklab(55.72% 0.1229 -0.1069)
OKLCHoklch(55.72% 0.163 319)
XYZxyz(23.9788, 15.5134, 42.2804)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4EAF #62AF4E
analogous
#6B4EAF #9B4EAF #AF4E93
triadic
#9B4EAF #AF9B4E #4EAF9B
tetradic
#9B4EAF #AF6B4E #62AF4E #4E93AF
square
#9B4EAF #AF6B4E #62AF4E #4E93AF
split-complementary
#9B4EAF #93AF4E #4EAF6B
monochromatic
#50285A #763B85 #9B4EAF #B378C3 #CBA2D6

Accessibility & contrast

On white

5.12
#9B4EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9B4EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4EAF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4EAF#FFFFFF#000000##FFFFFF
##9B4EAF1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A69B2
Deuteranopia (green-blind)
#5470AC
Tritanopia (blue-blind)
#9B5D77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9b4eaf;
/* rgb */ color: rgb(155, 78, 175);
/* oklch */ color: oklch(55.7% 0.163 319.0);
Tailwind
colors: {
  custom: {
    50: '#bb83c7',
    500: '#9b4eaf',
    950: '#000000',
  },
}
SCSS
$custom: #9b4eaf;
$custom-light: #bb83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4eaf",
  "rgb": {
    "r": 155,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 287.629,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55723,
    "c": 0.16294,
    "h": 319
  },
  "luminance": 0.15512
}

Semantic roles & 50–950 ramp

primary
#9B4EAF
secondary
#9FC396
accent
#CE5A72
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9B4EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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