#9541AF#9541AF

#9541AF is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.2% C 0.180 H 317.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9541AF
RGBrgb(149, 65, 175)
HSLhsl(286, 46%, 47%)
HSVhsv(286, 63%, 69%)
CMYKcmyk(14.9%, 62.9%, 0%, 31.4%)
CIE-LABlab(43.16, 52.09, -43.53)
CIE-LCHlch(43.16, 67.88, 320.12°)
OKLaboklab(53.24% 0.1324 -0.1218)
OKLCHoklch(53.24% 0.18 317.4)
XYZxyz(22.0215, 13.2662, 41.9498)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9541AF #5BAF41
analogous
#5E41AF #9541AF #AF4192
triadic
#9541AF #AF9541 #41AF95
tetradic
#9541AF #AF5E41 #5BAF41 #4192AF
square
#9541AF #AF5E41 #5BAF41 #4192AF
split-complementary
#9541AF #92AF41 #41AF5E
monochromatic
#492056 #6F3082 #9541AF #B067C6 #C793D7

Accessibility & contrast

On white

5.75
#9541AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9541AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9541AF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9541AF#FFFFFF#000000##FFFFFF
##9541AF1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F61B2
Deuteranopia (green-blind)
#4469AC
Tritanopia (blue-blind)
#945472
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9541af;
/* rgb */ color: rgb(149, 65, 175);
/* oklch */ color: oklch(53.2% 0.180 317.4);
Tailwind
colors: {
  custom: {
    50: '#b77bc7',
    500: '#9541af',
    950: '#000000',
  },
}
SCSS
$custom: #9541af;
$custom-light: #b77bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9541af",
  "rgb": {
    "r": 149,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 285.818,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53241,
    "c": 0.1799,
    "h": 317.4
  },
  "luminance": 0.13265
}

Semantic roles & 50–950 ramp

primary
#9541AF
secondary
#97C289
accent
#D55271
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9541AF

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

Preview Lab → · Contrast checker → · Palette generator →

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