#9541B8#9541B8

#9541B8 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.8% C 0.189 H 314.5°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#9541B8
RGBrgb(149, 65, 184)
HSLhsl(282, 48%, 49%)
HSVhsv(282, 65%, 72%)
CMYKcmyk(19%, 64.7%, 0%, 27.8%)
CIE-LABlab(43.70, 53.96, -47.96)
CIE-LCHlch(43.70, 72.19, 318.37°)
OKLaboklab(53.8% 0.1323 -0.1348)
OKLCHoklch(53.8% 0.189 314.5)
XYZxyz(22.9350, 13.6316, 46.7611)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9541B8 #64B841
analogous
#5A41B8 #9541B8 #B841A0
triadic
#9541B8 #B89541 #41B895
tetradic
#9541B8 #B85A41 #64B841 #41A0B8
square
#9541B8 #B85A41 #64B841 #41A0B8
split-complementary
#9541B8 #A0B841 #41B85A
monochromatic
#4C215E #70318B #9541B8 #AF6BCB #C799DB

Accessibility & contrast

On white

5.64
#9541B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9541B8#FFFFFF#000000##FFFFFF
##9541B81.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B63BC
Deuteranopia (green-blind)
#3D69B5
Tritanopia (blue-blind)
#925777
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9541b8;
/* rgb */ color: rgb(149, 65, 184);
/* oklch */ color: oklch(53.8% 0.189 314.5);
Tailwind
colors: {
  custom: {
    50: '#b77bce',
    500: '#9541b8',
    950: '#000000',
  },
}
SCSS
$custom: #9541b8;
$custom-light: #b77bce;
$custom-dark: #000000;
JSON
{
  "hex": "#9541b8",
  "rgb": {
    "r": 149,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 282.353,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.53803,
    "c": 0.18883,
    "h": 314.5
  },
  "luminance": 0.13631
}

Semantic roles & 50–950 ramp

primary
#9541B8
secondary
#9FC78E
accent
#D75078
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9541B8

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

Preview Lab → · Contrast checker → · Palette generator →

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