#9541BA#9541BA

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

Color values

HEX#9541BA
RGBrgb(149, 65, 186)
HSLhsl(282, 48%, 49%)
HSVhsv(282, 65%, 73%)
CMYKcmyk(19.9%, 65.1%, 0%, 27.1%)
CIE-LABlab(43.82, 54.38, -48.94)
CIE-LCHlch(43.82, 73.16, 318.01°)
OKLaboklab(53.93% 0.1322 -0.1376)
OKLCHoklch(53.93% 0.191 313.8)
XYZxyz(23.1461, 13.7160, 47.8730)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9541BA #66BA41
analogous
#5941BA #9541BA #BA41A3
triadic
#9541BA #BA9541 #41BA95
tetradic
#9541BA #BA5941 #66BA41 #41A3BA
square
#9541BA #BA5941 #66BA41 #41A3BA
split-complementary
#9541BA #A3BA41 #41BA59
monochromatic
#4C215F #71318D #9541BA #AF6CCC #C79ADC

Accessibility & contrast

On white

5.61
#9541BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9541BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9541BA#FFFFFF#000000##FFFFFF
##9541BA1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0363BE
Deuteranopia (green-blind)
#3B6AB7
Tritanopia (blue-blind)
#925878
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9541ba;
/* rgb */ color: rgb(149, 65, 186);
/* oklch */ color: oklch(53.9% 0.191 313.8);
Tailwind
colors: {
  custom: {
    50: '#b87bcf',
    500: '#9541ba',
    950: '#000000',
  },
}
SCSS
$custom: #9541ba;
$custom-light: #b87bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9541ba",
  "rgb": {
    "r": 149,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 281.653,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53931,
    "c": 0.19082,
    "h": 313.8
  },
  "luminance": 0.13715
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9541BA

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

Preview Lab → · Contrast checker → · Palette generator →

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