#9541B9#9541B9

#9541B9 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 53.9% C 0.190 H 314.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9541B9
RGBrgb(149, 65, 185)
HSLhsl(282, 48%, 49%)
HSVhsv(282, 65%, 73%)
CMYKcmyk(19.5%, 64.9%, 0%, 27.5%)
CIE-LABlab(43.76, 54.17, -48.45)
CIE-LCHlch(43.76, 72.67, 318.19°)
OKLaboklab(53.87% 0.1322 -0.1362)
OKLCHoklch(53.87% 0.19 314.1)
XYZxyz(23.0402, 13.6737, 47.3151)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9541B9 #65B941
analogous
#5941B9 #9541B9 #B941A1
triadic
#9541B9 #B99541 #41B995
tetradic
#9541B9 #B95941 #65B941 #41A1B9
square
#9541B9 #B95941 #65B941 #41A1B9
split-complementary
#9541B9 #A1B941 #41B959
monochromatic
#4C215E #71318C #9541B9 #AF6CCB #C799DB

Accessibility & contrast

On white

5.62
#9541B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9541B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9541B9#FFFFFF#000000##FFFFFF
##9541B91.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0763BD
Deuteranopia (green-blind)
#3C6AB6
Tritanopia (blue-blind)
#925877
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9541b9;
/* rgb */ color: rgb(149, 65, 185);
/* oklch */ color: oklch(53.9% 0.190 314.1);
Tailwind
colors: {
  custom: {
    50: '#b87bcf',
    500: '#9541b9',
    950: '#000000',
  },
}
SCSS
$custom: #9541b9;
$custom-light: #b87bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9541b9",
  "rgb": {
    "r": 149,
    "g": 65,
    "b": 185
  },
  "hsl": {
    "h": 282,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53867,
    "c": 0.18982,
    "h": 314.1
  },
  "luminance": 0.13673
}

Semantic roles & 50–950 ramp

primary
#9541B9
secondary
#A0C78F
accent
#D85079
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9541B9

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

Preview Lab → · Contrast checker → · Palette generator →

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