#9A4EAF#9A4EAF

#9A4EAF is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.6% C 0.162 H 318.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9A4EAF
RGBrgb(154, 78, 175)
HSLhsl(287, 38%, 50%)
HSVhsv(287, 55%, 69%)
CMYKcmyk(12%, 55.4%, 0%, 31.4%)
CIE-LABlab(46.20, 47.00, -38.66)
CIE-LCHlch(46.20, 60.86, 320.56°)
OKLaboklab(55.6% 0.1217 -0.1076)
OKLCHoklch(55.6% 0.162 318.5)
XYZxyz(23.7876, 15.4149, 42.2715)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4EAF #63AF4E
analogous
#694EAF #9A4EAF #AF4E94
triadic
#9A4EAF #AF9A4E #4EAF9A
tetradic
#9A4EAF #AF694E #63AF4E #4E94AF
square
#9A4EAF #AF694E #63AF4E #4E94AF
split-complementary
#9A4EAF #94AF4E #4EAF69
monochromatic
#4F285A #753B85 #9A4EAF #B278C3 #CAA2D6

Accessibility & contrast

On white

5.14
#9A4EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9A4EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4EAF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4EAF#FFFFFF#000000##FFFFFF
##9A4EAF1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3968B2
Deuteranopia (green-blind)
#5370AC
Tritanopia (blue-blind)
#9A5D77
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9a4eaf;
/* rgb */ color: rgb(154, 78, 175);
/* oklch */ color: oklch(55.6% 0.162 318.5);
Tailwind
colors: {
  custom: {
    50: '#ba83c7',
    500: '#9a4eaf',
    950: '#000000',
  },
}
SCSS
$custom: #9a4eaf;
$custom-light: #ba83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4eaf",
  "rgb": {
    "r": 154,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 287.01,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55598,
    "c": 0.16245,
    "h": 318.5
  },
  "luminance": 0.15414
}

Semantic roles & 50–950 ramp

primary
#9A4EAF
secondary
#A0C396
accent
#CE5A73
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9A4EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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