#9A4EAE#9A4EAE

#9A4EAE is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.5% C 0.161 H 318.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9A4EAE
RGBrgb(154, 78, 174)
HSLhsl(288, 38%, 49%)
HSVhsv(288, 55%, 68%)
CMYKcmyk(11.5%, 55.2%, 0%, 31.8%)
CIE-LABlab(46.14, 46.80, -38.16)
CIE-LCHlch(46.14, 60.38, 320.81°)
OKLaboklab(55.54% 0.1216 -0.1061)
OKLCHoklch(55.54% 0.161 318.9)
XYZxyz(23.6898, 15.3757, 41.7561)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4EAE #62AE4E
analogous
#6A4EAE #9A4EAE #AE4E92
triadic
#9A4EAE #AE9A4E #4EAE9A
tetradic
#9A4EAE #AE6A4E #62AE4E #4E92AE
square
#9A4EAE #AE6A4E #62AE4E #4E92AE
split-complementary
#9A4EAE #92AE4E #4EAE6A
monochromatic
#4F2859 #753B84 #9A4EAE #B277C2 #CAA1D5

Accessibility & contrast

On white

5.15
#9A4EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#9A4EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4EAE
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4EAE#FFFFFF#000000##FFFFFF
##9A4EAE1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A68B1
Deuteranopia (green-blind)
#5470AB
Tritanopia (blue-blind)
#9A5C77
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9a4eae;
/* rgb */ color: rgb(154, 78, 174);
/* oklch */ color: oklch(55.5% 0.161 318.9);
Tailwind
colors: {
  custom: {
    50: '#ba83c6',
    500: '#9a4eae',
    950: '#000000',
  },
}
SCSS
$custom: #9a4eae;
$custom-light: #ba83c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4eae",
  "rgb": {
    "r": 154,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 287.5,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55542,
    "c": 0.16142,
    "h": 318.9
  },
  "luminance": 0.15375
}

Semantic roles & 50–950 ramp

primary
#9A4EAE
secondary
#9FC296
accent
#CE5A72
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9A4EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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