#9541B2#9541B2

#9541B2 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.4% C 0.183 H 316.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#9541B2
RGBrgb(149, 65, 178)
HSLhsl(285, 47%, 48%)
HSVhsv(285, 63%, 70%)
CMYKcmyk(16.3%, 63.5%, 0%, 30.2%)
CIE-LABlab(43.34, 52.71, -45.02)
CIE-LCHlch(43.34, 69.31, 319.50°)
OKLaboklab(53.43% 0.1324 -0.1262)
OKLCHoklch(53.43% 0.183 316.4)
XYZxyz(22.3194, 13.3853, 43.5188)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9541B2 #5EB241
analogous
#5D41B2 #9541B2 #B24196
triadic
#9541B2 #B29541 #41B295
tetradic
#9541B2 #B25D41 #5EB241 #4196B2
square
#9541B2 #B25D41 #5EB241 #4196B2
split-complementary
#9541B2 #96B241 #41B25D
monochromatic
#4A2058 #6F3185 #9541B2 #AF68C8 #C795D8

Accessibility & contrast

On white

5.71
#9541B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9541B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9541B2#FFFFFF#000000##FFFFFF
##9541B21.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A61B5
Deuteranopia (green-blind)
#4269AF
Tritanopia (blue-blind)
#935574
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9541b2;
/* rgb */ color: rgb(149, 65, 178);
/* oklch */ color: oklch(53.4% 0.183 316.4);
Tailwind
colors: {
  custom: {
    50: '#b77bc9',
    500: '#9541b2',
    950: '#000000',
  },
}
SCSS
$custom: #9541b2;
$custom-light: #b77bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#9541b2",
  "rgb": {
    "r": 149,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 284.602,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53426,
    "c": 0.18287,
    "h": 316.4
  },
  "luminance": 0.13385
}

Semantic roles & 50–950 ramp

primary
#9541B2
secondary
#9AC48B
accent
#D65274
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9541B2

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

Preview Lab → · Contrast checker → · Palette generator →

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