#9531A5#9531A5

#9531A5 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.8% C 0.192 H 321.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9531A5
RGBrgb(149, 49, 165)
HSLhsl(292, 54%, 42%)
HSVhsv(292, 70%, 65%)
CMYKcmyk(9.7%, 70.3%, 0%, 35.3%)
CIE-LABlab(40.09, 57.04, -42.49)
CIE-LCHlch(40.09, 71.12, 323.32°)
OKLaboklab(50.84% 0.1509 -0.1187)
OKLCHoklch(50.84% 0.192 321.8)
XYZxyz(20.2835, 11.3039, 36.7035)
Luminance0.1130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9531A5 #41A531
analogous
#5B31A5 #9531A5 #A5317B
triadic
#9531A5 #A59531 #31A595
tetradic
#9531A5 #A55B31 #41A531 #317BA5
square
#9531A5 #A55B31 #41A531 #317BA5
split-complementary
#9531A5 #7BA531 #31A55B
monochromatic
#401547 #6A2376 #9531A5 #B84AC9 #CA79D7

Accessibility & contrast

On white

6.44
#9531A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9531A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9531A5
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9531A5#FFFFFF#000000##FFFFFF
##9531A51.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0357A8
Deuteranopia (green-blind)
#4062A2
Tritanopia (blue-blind)
#974667
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9531a5;
/* rgb */ color: rgb(149, 49, 165);
/* oklch */ color: oklch(50.8% 0.192 321.8);
Tailwind
colors: {
  custom: {
    50: '#b872c0',
    500: '#9531a5',
    950: '#000000',
  },
}
SCSS
$custom: #9531a5;
$custom-light: #b872c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9531a5",
  "rgb": {
    "r": 149,
    "g": 49,
    "b": 165
  },
  "hsl": {
    "h": 291.724,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50836,
    "c": 0.19198,
    "h": 321.8
  },
  "luminance": 0.11303
}

Semantic roles & 50–950 ramp

primary
#9531A5
secondary
#7DC072
accent
#DE4A5F
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9531A5

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

Preview Lab → · Contrast checker → · Palette generator →

#9531A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva