#9531AC#9531AC

#9531AC is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.198 H 319.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#9531AC
RGBrgb(149, 49, 172)
HSLhsl(289, 56%, 43%)
HSVhsv(289, 72%, 67%)
CMYKcmyk(13.4%, 71.5%, 0%, 32.5%)
CIE-LABlab(40.52, 58.36, -45.98)
CIE-LCHlch(40.52, 74.30, 321.77°)
OKLaboklab(51.28% 0.1506 -0.1289)
OKLCHoklch(51.28% 0.198 319.4)
XYZxyz(20.9382, 11.5658, 40.1512)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9531AC #48AC31
analogous
#5731AC #9531AC #AC3185
triadic
#9531AC #AC9531 #31AC95
tetradic
#9531AC #AC5731 #48AC31 #3185AC
square
#9531AC #AC5731 #48AC31 #3185AC
split-complementary
#9531AC #85AC31 #31AC57
monochromatic
#42164D #6C237C #9531AC #B54ECC #C97DDA

Accessibility & contrast

On white

6.34
#9531AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9531AC#FFFFFF#000000##FFFFFF
##9531AC1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#3A63A9
Tritanopia (blue-blind)
#95496B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9531ac;
/* rgb */ color: rgb(149, 49, 172);
/* oklch */ color: oklch(51.3% 0.198 319.4);
Tailwind
colors: {
  custom: {
    50: '#b872c5',
    500: '#9531ac',
    950: '#000000',
  },
}
SCSS
$custom: #9531ac;
$custom-light: #b872c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9531ac",
  "rgb": {
    "r": 149,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 288.78,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51281,
    "c": 0.19817,
    "h": 319.4
  },
  "luminance": 0.11565
}

Semantic roles & 50–950 ramp

primary
#9531AC
secondary
#84C376
accent
#DF4965
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9531AC

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

Preview Lab → · Contrast checker → · Palette generator →

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