#9531AB#9531AB

#9531AB is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.2% C 0.197 H 319.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#9531AB
RGBrgb(149, 49, 171)
HSLhsl(289, 55%, 43%)
HSVhsv(289, 71%, 67%)
CMYKcmyk(12.9%, 71.3%, 0%, 32.9%)
CIE-LABlab(40.46, 58.17, -45.48)
CIE-LCHlch(40.46, 73.84, 321.98°)
OKLaboklab(51.22% 0.1506 -0.1274)
OKLCHoklch(51.22% 0.197 319.8)
XYZxyz(20.8425, 11.5275, 39.6474)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9531AB #47AB31
analogous
#5831AB #9531AB #AB3184
triadic
#9531AB #AB9531 #31AB95
tetradic
#9531AB #AB5831 #47AB31 #3184AB
square
#9531AB #AB5831 #47AB31 #3184AB
split-complementary
#9531AB #84AB31 #31AB58
monochromatic
#42164C #6C237B #9531AB #B54DCC #C97DDA

Accessibility & contrast

On white

6.35
#9531AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9531AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9531AB
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9531AB#FFFFFF#000000##FFFFFF
##9531AB1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#3B63A8
Tritanopia (blue-blind)
#95486B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9531ab;
/* rgb */ color: rgb(149, 49, 171);
/* oklch */ color: oklch(51.2% 0.197 319.8);
Tailwind
colors: {
  custom: {
    50: '#b872c5',
    500: '#9531ab',
    950: '#000000',
  },
}
SCSS
$custom: #9531ab;
$custom-light: #b872c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9531ab",
  "rgb": {
    "r": 149,
    "g": 49,
    "b": 171
  },
  "hsl": {
    "h": 289.18,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51216,
    "c": 0.19728,
    "h": 319.8
  },
  "luminance": 0.11526
}

Semantic roles & 50–950 ramp

primary
#9531AB
secondary
#83C275
accent
#DF4964
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9531AB

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

Preview Lab → · Contrast checker → · Palette generator →

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