#9A5191#9A5191

#9A5191 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 54.5% C 0.128 H 331.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9A5191
RGBrgb(154, 81, 145)
HSLhsl(307, 31%, 46%)
HSVhsv(307, 47%, 60%)
CMYKcmyk(0%, 47.4%, 5.8%, 39.6%)
CIE-LABlab(45.36, 39.60, -22.16)
CIE-LCHlch(45.36, 45.38, 330.77°)
OKLaboklab(54.51% 0.1128 -0.0602)
OKLCHoklch(54.51% 0.128 331.9)
XYZxyz(21.3795, 14.8005, 28.5132)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A5191 #519A5A
analogous
#7E519A #9A5191 #9A516C
triadic
#9A5191 #919A51 #51919A
tetradic
#9A5191 #9A7E51 #519A5A #516C9A
square
#9A5191 #9A7E51 #519A5A #516C9A
split-complementary
#9A5191 #6C9A51 #519A7E
monochromatic
#4A2745 #723C6B #9A5191 #B573AD #CA9BC5

Accessibility & contrast

On white

5.30
#9A5191 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9A5191 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A5191
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A5191#FFFFFF#000000##FFFFFF
##9A51911.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6593
Deuteranopia (green-blind)
#636F8F
Tritanopia (blue-blind)
#9F566A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9a5191;
/* rgb */ color: rgb(154, 81, 145);
/* oklch */ color: oklch(54.5% 0.128 331.9);
Tailwind
colors: {
  custom: {
    50: '#b984b1',
    500: '#9a5191',
    950: '#000000',
  },
}
SCSS
$custom: #9a5191;
$custom-light: #b984b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a5191",
  "rgb": {
    "r": 154,
    "g": 81,
    "b": 145
  },
  "hsl": {
    "h": 307.397,
    "s": 31.064,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54511,
    "c": 0.12783,
    "h": 331.9
  },
  "luminance": 0.14799
}

Semantic roles & 50–950 ramp

primary
#9A5191
secondary
#8FB794
accent
#C76D61
background
#FBF8FA
surface
#F6EFF5
border
#D0CACF
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9A5191

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

Preview Lab → · Contrast checker → · Palette generator →

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