#9531A4#9531A4

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

Color values

HEX#9531A4
RGBrgb(149, 49, 164)
HSLhsl(292, 54%, 42%)
HSVhsv(292, 70%, 64%)
CMYKcmyk(9.1%, 70.1%, 0%, 35.7%)
CIE-LABlab(40.03, 56.85, -41.99)
CIE-LCHlch(40.03, 70.67, 323.55°)
OKLaboklab(50.77% 0.151 -0.1172)
OKLCHoklch(50.77% 0.191 322.2)
XYZxyz(20.1929, 11.2676, 36.2260)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9531A4 #40A431
analogous
#5C31A4 #9531A4 #A4317A
triadic
#9531A4 #A49531 #31A495
tetradic
#9531A4 #A45C31 #40A431 #317AA4
square
#9531A4 #A45C31 #40A431 #317AA4
split-complementary
#9531A4 #7AA431 #31A45C
monochromatic
#3F1546 #6A2375 #9531A4 #B849C9 #CB79D7

Accessibility & contrast

On white

6.45
#9531A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9531A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9531A4#FFFFFF#000000##FFFFFF
##9531A41.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0757A7
Deuteranopia (green-blind)
#4162A1
Tritanopia (blue-blind)
#974567
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9531a4;
/* rgb */ color: rgb(149, 49, 164);
/* oklch */ color: oklch(50.8% 0.191 322.2);
Tailwind
colors: {
  custom: {
    50: '#b872bf',
    500: '#9531a4',
    950: '#000000',
  },
}
SCSS
$custom: #9531a4;
$custom-light: #b872bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9531a4",
  "rgb": {
    "r": 149,
    "g": 49,
    "b": 164
  },
  "hsl": {
    "h": 292.174,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50773,
    "c": 0.19111,
    "h": 322.2
  },
  "luminance": 0.11267
}

Semantic roles & 50–950 ramp

primary
#9531A4
secondary
#7CBF72
accent
#DD4A5E
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9531A4

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

Preview Lab → · Contrast checker → · Palette generator →

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