#9A4E95#9A4E95

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

Color values

HEX#9A4E95
RGBrgb(154, 78, 149)
HSLhsl(304, 33%, 45%)
HSVhsv(304, 49%, 60%)
CMYKcmyk(0%, 49.4%, 3.2%, 39.6%)
CIE-LABlab(44.93, 41.92, -25.23)
CIE-LCHlch(44.93, 48.92, 328.96°)
OKLaboklab(54.25% 0.1181 -0.0689)
OKLCHoklch(54.25% 0.137 329.7)
XYZxyz(21.4754, 14.4900, 30.0936)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4E95 #4E9A53
analogous
#794E9A #9A4E95 #9A4E6F
triadic
#9A4E95 #959A4E #4E959A
tetradic
#9A4E95 #9A794E #4E9A53 #4E6F9A
square
#9A4E95 #9A794E #4E9A53 #4E6F9A
split-complementary
#9A4E95 #6F9A4E #4E9A79
monochromatic
#492546 #71396E #9A4E95 #B66FB1 #CB98C7

Accessibility & contrast

On white

5.39
#9A4E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A4E95
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4E95#FFFFFF#000000##FFFFFF
##9A4E951.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6497
Deuteranopia (green-blind)
#606E93
Tritanopia (blue-blind)
#9F556A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9a4e95;
/* rgb */ color: rgb(154, 78, 149);
/* oklch */ color: oklch(54.2% 0.137 329.7);
Tailwind
colors: {
  custom: {
    50: '#ba82b4',
    500: '#9a4e95',
    950: '#000000',
  },
}
SCSS
$custom: #9a4e95;
$custom-light: #ba82b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4e95",
  "rgb": {
    "r": 154,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 303.947,
    "s": 32.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54247,
    "c": 0.13674,
    "h": 329.7
  },
  "luminance": 0.14489
}

Semantic roles & 50–950 ramp

primary
#9A4E95
secondary
#8DB78F
accent
#C9665F
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #9A4E95

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

Preview Lab → · Contrast checker → · Palette generator →

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