#9A4E91#9A4E91

#9A4E91 is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.1% C 0.133 H 331.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9A4E91
RGBrgb(154, 78, 145)
HSLhsl(307, 33%, 45%)
HSVhsv(307, 49%, 60%)
CMYKcmyk(0%, 49.4%, 5.8%, 39.6%)
CIE-LABlab(44.75, 41.19, -23.10)
CIE-LCHlch(44.75, 47.22, 330.71°)
OKLaboklab(54.06% 0.1173 -0.0628)
OKLCHoklch(54.06% 0.133 331.8)
XYZxyz(21.1615, 14.3644, 28.4406)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4E91 #4E9A57
analogous
#7D4E9A #9A4E91 #9A4E6B
triadic
#9A4E91 #919A4E #4E919A
tetradic
#9A4E91 #9A7D4E #4E9A57 #4E6B9A
square
#9A4E91 #9A7D4E #4E9A57 #4E6B9A
split-complementary
#9A4E91 #6B9A4E #4E9A7D
monochromatic
#492544 #71396B #9A4E91 #B66FAE #CB98C5

Accessibility & contrast

On white

5.42
#9A4E91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9A4E91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4E91
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4E91#FFFFFF#000000##FFFFFF
##9A4E911.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6393
Deuteranopia (green-blind)
#616E8F
Tritanopia (blue-blind)
#A05369
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9a4e91;
/* rgb */ color: rgb(154, 78, 145);
/* oklch */ color: oklch(54.1% 0.133 331.8);
Tailwind
colors: {
  custom: {
    50: '#ba82b1',
    500: '#9a4e91',
    950: '#000000',
  },
}
SCSS
$custom: #9a4e91;
$custom-light: #ba82b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4e91",
  "rgb": {
    "r": 154,
    "g": 78,
    "b": 145
  },
  "hsl": {
    "h": 307.105,
    "s": 32.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54058,
    "c": 0.13309,
    "h": 331.8
  },
  "luminance": 0.14363
}

Semantic roles & 50–950 ramp

primary
#9A4E91
secondary
#8DB792
accent
#C96B5F
background
#FBF8FA
surface
#F6EFF5
border
#D0CACF
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9A4E91

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

Preview Lab → · Contrast checker → · Palette generator →

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