#9A4E90#9A4E90

#9A4E90 is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.0% C 0.132 H 332.4°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9A4E90
RGBrgb(154, 78, 144)
HSLhsl(308, 33%, 45%)
HSVhsv(308, 49%, 60%)
CMYKcmyk(0%, 49.4%, 6.5%, 39.6%)
CIE-LABlab(44.71, 41.01, -22.57)
CIE-LCHlch(44.71, 46.81, 331.17°)
OKLaboklab(54.01% 0.1171 -0.0613)
OKLCHoklch(54.01% 0.132 332.4)
XYZxyz(21.0848, 14.3337, 28.0363)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4E90 #4E9A58
analogous
#7E4E9A #9A4E90 #9A4E6A
triadic
#9A4E90 #909A4E #4E909A
tetradic
#9A4E90 #9A7E4E #4E9A58 #4E6A9A
square
#9A4E90 #9A7E4E #4E9A58 #4E6A9A
split-complementary
#9A4E90 #6A9A4E #4E9A7E
monochromatic
#492544 #71396A #9A4E90 #B66FAD #CB98C4

Accessibility & contrast

On white

5.43
#9A4E90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A4E90
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4E90#FFFFFF#000000##FFFFFF
##9A4E901.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6392
Deuteranopia (green-blind)
#616E8E
Tritanopia (blue-blind)
#A05368
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9a4e90;
/* rgb */ color: rgb(154, 78, 144);
/* oklch */ color: oklch(54.0% 0.132 332.4);
Tailwind
colors: {
  custom: {
    50: '#ba82b0',
    500: '#9a4e90',
    950: '#000000',
  },
}
SCSS
$custom: #9a4e90;
$custom-light: #ba82b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4e90",
  "rgb": {
    "r": 154,
    "g": 78,
    "b": 144
  },
  "hsl": {
    "h": 307.895,
    "s": 32.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54011,
    "c": 0.13219,
    "h": 332.4
  },
  "luminance": 0.14332
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A4E90

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

Preview Lab → · Contrast checker → · Palette generator →

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