#9531B8#9531B8

#9531B8 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.209 H 315.7°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9531B8
RGBrgb(149, 49, 184)
HSLhsl(284, 58%, 46%)
HSVhsv(284, 73%, 72%)
CMYKcmyk(19%, 73.4%, 0%, 27.8%)
CIE-LABlab(41.29, 60.71, -51.83)
CIE-LCHlch(41.29, 79.83, 319.51°)
OKLaboklab(52.08% 0.1494 -0.146)
OKLCHoklch(52.08% 0.209 315.7)
XYZxyz(22.1431, 12.0477, 46.4971)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9531B8 #54B831
analogous
#5131B8 #9531B8 #B83198
triadic
#9531B8 #B89531 #31B895
tetradic
#9531B8 #B85131 #54B831 #3198B8
square
#9531B8 #B85131 #54B831 #3198B8
split-complementary
#9531B8 #98B831 #31B851
monochromatic
#471757 #6E2488 #9531B8 #B155D2 #C785DE

Accessibility & contrast

On white

6.16
#9531B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9531B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9531B8#FFFFFF#000000##FFFFFF
##9531B81.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#2E64B5
Tritanopia (blue-blind)
#924E72
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9531b8;
/* rgb */ color: rgb(149, 49, 184);
/* oklch */ color: oklch(52.1% 0.209 315.7);
Tailwind
colors: {
  custom: {
    50: '#b873ce',
    500: '#9531b8',
    950: '#000000',
  },
}
SCSS
$custom: #9531b8;
$custom-light: #b873ce;
$custom-dark: #000000;
JSON
{
  "hex": "#9531b8",
  "rgb": {
    "r": 149,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 284.444,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52079,
    "c": 0.20891,
    "h": 315.7
  },
  "luminance": 0.12047
}

Semantic roles & 50–950 ramp

primary
#9531B8
secondary
#90C87D
accent
#E1476F
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9531B8

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

Preview Lab → · Contrast checker → · Palette generator →

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