#9A4F91#9A4F91

#9A4F91 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.2% C 0.131 H 331.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9A4F91
RGBrgb(154, 79, 145)
HSLhsl(307, 32%, 46%)
HSVhsv(307, 49%, 60%)
CMYKcmyk(0%, 48.7%, 5.8%, 39.6%)
CIE-LABlab(44.95, 40.66, -22.79)
CIE-LCHlch(44.95, 46.61, 330.73°)
OKLaboklab(54.21% 0.1158 -0.062)
OKLCHoklch(54.21% 0.131 331.8)
XYZxyz(21.2331, 14.5076, 28.4644)
Luminance0.1451 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4F91 #4F9A58
analogous
#7D4F9A #9A4F91 #9A4F6B
triadic
#9A4F91 #919A4F #4F919A
tetradic
#9A4F91 #9A7D4F #4F9A58 #4F6B9A
square
#9A4F91 #9A7D4F #4F9A58 #4F6B9A
split-complementary
#9A4F91 #6B9A4F #4F9A7D
monochromatic
#492545 #723A6B #9A4F91 #B670AD #CB99C5

Accessibility & contrast

On white

5.38
#9A4F91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9A4F91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4F91
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4F91#FFFFFF#000000##FFFFFF
##9A4F911.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6493
Deuteranopia (green-blind)
#626E8F
Tritanopia (blue-blind)
#9F5469
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9a4f91;
/* rgb */ color: rgb(154, 79, 145);
/* oklch */ color: oklch(54.2% 0.131 331.8);
Tailwind
colors: {
  custom: {
    50: '#b983b1',
    500: '#9a4f91',
    950: '#000000',
  },
}
SCSS
$custom: #9a4f91;
$custom-light: #b983b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4f91",
  "rgb": {
    "r": 154,
    "g": 79,
    "b": 145
  },
  "hsl": {
    "h": 307.2,
    "s": 32.189,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54207,
    "c": 0.13134,
    "h": 331.8
  },
  "luminance": 0.14506
}

Semantic roles & 50–950 ramp

primary
#9A4F91
secondary
#8EB793
accent
#C86C5F
background
#FBF8FA
surface
#F6EFF5
border
#D0CACF
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9A4F91

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

Preview Lab → · Contrast checker → · Palette generator →

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