#9531AA#9531AA

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

Color values

HEX#9531AA
RGBrgb(149, 49, 170)
HSLhsl(290, 55%, 43%)
HSVhsv(290, 71%, 67%)
CMYKcmyk(12.4%, 71.2%, 0%, 33.3%)
CIE-LABlab(40.39, 57.98, -44.99)
CIE-LCHlch(40.39, 73.39, 322.19°)
OKLaboklab(51.15% 0.1507 -0.126)
OKLCHoklch(51.15% 0.196 320.1)
XYZxyz(20.7475, 11.4895, 39.1473)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9531AA #46AA31
analogous
#5931AA #9531AA #AA3182
triadic
#9531AA #AA9531 #31AA95
tetradic
#9531AA #AA5931 #46AA31 #3182AA
square
#9531AA #AA5931 #46AA31 #3182AA
split-complementary
#9531AA #82AA31 #31AA59
monochromatic
#42164B #6B237A #9531AA #B64DCC #C97CD9

Accessibility & contrast

On white

6.37
#9531AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9531AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9531AA#FFFFFF#000000##FFFFFF
##9531AA1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#3C63A7
Tritanopia (blue-blind)
#96486A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9531aa;
/* rgb */ color: rgb(149, 49, 170);
/* oklch */ color: oklch(51.2% 0.196 320.1);
Tailwind
colors: {
  custom: {
    50: '#b872c4',
    500: '#9531aa',
    950: '#000000',
  },
}
SCSS
$custom: #9531aa;
$custom-light: #b872c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9531aa",
  "rgb": {
    "r": 149,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 289.587,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51152,
    "c": 0.19639,
    "h": 320.1
  },
  "luminance": 0.11488
}

Semantic roles & 50–950 ramp

primary
#9531AA
secondary
#82C275
accent
#DF4963
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9531AA

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

Preview Lab → · Contrast checker → · Palette generator →

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