#9A4EAA#9A4EAA

#9A4EAA is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.3% C 0.157 H 320.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9A4EAA
RGBrgb(154, 78, 170)
HSLhsl(290, 37%, 49%)
HSVhsv(290, 54%, 67%)
CMYKcmyk(9.4%, 54.1%, 0%, 33.3%)
CIE-LABlab(45.94, 45.98, -36.13)
CIE-LCHlch(45.94, 58.48, 321.84°)
OKLaboklab(55.32% 0.1212 -0.1002)
OKLCHoklch(55.32% 0.157 320.4)
XYZxyz(23.3056, 15.2221, 39.7329)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4EAA #5EAA4E
analogous
#6C4EAA #9A4EAA #AA4E8C
triadic
#9A4EAA #AA9A4E #4EAA9A
tetradic
#9A4EAA #AA6C4E #5EAA4E #4E8CAA
square
#9A4EAA #AA6C4E #5EAA4E #4E8CAA
split-complementary
#9A4EAA #8CAA4E #4EAA6C
monochromatic
#4E2856 #743B80 #9A4EAA #B375C0 #CA9FD3

Accessibility & contrast

On white

5.19
#9A4EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9A4EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4EAA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4EAA#FFFFFF#000000##FFFFFF
##9A4EAA1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D67AD
Deuteranopia (green-blind)
#5670A7
Tritanopia (blue-blind)
#9B5B75
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9a4eaa;
/* rgb */ color: rgb(154, 78, 170);
/* oklch */ color: oklch(55.3% 0.157 320.4);
Tailwind
colors: {
  custom: {
    50: '#ba83c3',
    500: '#9a4eaa',
    950: '#000000',
  },
}
SCSS
$custom: #9a4eaa;
$custom-light: #ba83c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4eaa",
  "rgb": {
    "r": 154,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 289.565,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55322,
    "c": 0.15731,
    "h": 320.4
  },
  "luminance": 0.15221
}

Semantic roles & 50–950 ramp

primary
#9A4EAA
secondary
#9BC094
accent
#CD5B6F
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B12
muted
#817C81

Preview Lab

Preview with #9A4EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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