#9A4ABE#9A4ABE

#9A4ABE is a mid, vivid purple. Relative luminance 0.155; OKLCH L 55.9% C 0.184 H 313.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9A4ABE
RGBrgb(154, 74, 190)
HSLhsl(281, 47%, 52%)
HSVhsv(281, 61%, 75%)
CMYKcmyk(18.9%, 61.1%, 0%, 25.5%)
CIE-LABlab(46.29, 52.15, -47.28)
CIE-LCHlch(46.29, 70.39, 317.80°)
OKLaboklab(55.94% 0.1276 -0.1327)
OKLCHoklch(55.94% 0.184 313.9)
XYZxyz(25.0679, 15.4860, 50.3738)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4ABE #6EBE4A
analogous
#604ABE #9A4ABE #BE4AA8
triadic
#9A4ABE #BE9A4A #4ABE9A
tetradic
#9A4ABE #BE604A #6EBE4A #4AA8BE
square
#9A4ABE #BE604A #6EBE4A #4AA8BE
split-complementary
#9A4ABE #A8BE4A #4ABE60
monochromatic
#532568 #783695 #9A4ABE #B377CE #CCA4DE

Accessibility & contrast

On white

5.13
#9A4ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9A4ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4ABE
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4ABE#FFFFFF#000000##FFFFFF
##9A4ABE1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2269C2
Deuteranopia (green-blind)
#4570BB
Tritanopia (blue-blind)
#975F7D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9a4abe;
/* rgb */ color: rgb(154, 74, 190);
/* oklch */ color: oklch(55.9% 0.184 313.9);
Tailwind
colors: {
  custom: {
    50: '#bb81d2',
    500: '#9a4abe',
    950: '#000000',
  },
}
SCSS
$custom: #9a4abe;
$custom-light: #bb81d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4abe",
  "rgb": {
    "r": 154,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 281.379,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55938,
    "c": 0.18405,
    "h": 313.9
  },
  "luminance": 0.15485
}

Semantic roles & 50–950 ramp

primary
#9A4ABE
secondary
#A8CB98
accent
#D7517B
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9A4ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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