#9541AA#9541AA

#9541AA is a mid, vivid purple. Relative luminance 0.131; OKLCH L 52.9% C 0.175 H 319.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9541AA
RGBrgb(149, 65, 170)
HSLhsl(288, 45%, 46%)
HSVhsv(288, 62%, 67%)
CMYKcmyk(12.4%, 61.8%, 0%, 33.3%)
CIE-LABlab(42.87, 51.07, -41.03)
CIE-LCHlch(42.87, 65.51, 321.22°)
OKLaboklab(52.94% 0.1323 -0.1145)
OKLCHoklch(52.94% 0.175 319.1)
XYZxyz(21.5395, 13.0734, 39.4112)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9541AA #56AA41
analogous
#6041AA #9541AA #AA418A
triadic
#9541AA #AA9541 #41AA95
tetradic
#9541AA #AA6041 #56AA41 #418AAA
square
#9541AA #AA6041 #56AA41 #418AAA
split-complementary
#9541AA #8AAA41 #41AA60
monochromatic
#471F51 #6E307E #9541AA #B164C4 #C791D5

Accessibility & contrast

On white

5.81
#9541AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9541AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9541AA
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9541AA#FFFFFF#000000##FFFFFF
##9541AA1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2660AD
Deuteranopia (green-blind)
#4868A7
Tritanopia (blue-blind)
#95526F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9541aa;
/* rgb */ color: rgb(149, 65, 170);
/* oklch */ color: oklch(52.9% 0.175 319.1);
Tailwind
colors: {
  custom: {
    50: '#b77bc4',
    500: '#9541aa',
    950: '#000000',
  },
}
SCSS
$custom: #9541aa;
$custom-light: #b77bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#9541aa",
  "rgb": {
    "r": 149,
    "g": 65,
    "b": 170
  },
  "hsl": {
    "h": 288,
    "s": 44.681,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52939,
    "c": 0.17499,
    "h": 319.1
  },
  "luminance": 0.13072
}

Semantic roles & 50–950 ramp

primary
#9541AA
secondary
#92C087
accent
#D4536D
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9541AA

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

Preview Lab → · Contrast checker → · Palette generator →

#9541AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva