#9541BB#9541BB

#9541BB is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.0% C 0.192 H 313.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#9541BB
RGBrgb(149, 65, 187)
HSLhsl(281, 48%, 49%)
HSVhsv(281, 65%, 73%)
CMYKcmyk(20.3%, 65.2%, 0%, 26.7%)
CIE-LABlab(43.88, 54.59, -49.42)
CIE-LCHlch(43.88, 73.64, 317.84°)
OKLaboklab(54% 0.1321 -0.1391)
OKLCHoklch(54% 0.192 313.5)
XYZxyz(23.2528, 13.7587, 48.4349)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9541BB #67BB41
analogous
#5841BB #9541BB #BB41A4
triadic
#9541BB #BB9541 #41BB95
tetradic
#9541BB #BB5841 #67BB41 #41A4BB
square
#9541BB #BB5841 #67BB41 #41A4BB
split-complementary
#9541BB #A4BB41 #41BB58
monochromatic
#4D2160 #71318E #9541BB #AF6DCC #C89ADC

Accessibility & contrast

On white

5.60
#9541BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9541BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9541BB#FFFFFF#000000##FFFFFF
##9541BB1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#3A6AB8
Tritanopia (blue-blind)
#915978
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9541bb;
/* rgb */ color: rgb(149, 65, 187);
/* oklch */ color: oklch(54.0% 0.192 313.5);
Tailwind
colors: {
  custom: {
    50: '#b87bd0',
    500: '#9541bb',
    950: '#000000',
  },
}
SCSS
$custom: #9541bb;
$custom-light: #b87bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9541bb",
  "rgb": {
    "r": 149,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 281.311,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53996,
    "c": 0.19182,
    "h": 313.5
  },
  "luminance": 0.13758
}

Semantic roles & 50–950 ramp

primary
#9541BB
secondary
#A1C890
accent
#D8507A
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9541BB

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

Preview Lab → · Contrast checker → · Palette generator →

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