#9531B2#9531B2

#9531B2 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.204 H 317.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#9531B2
RGBrgb(149, 49, 178)
HSLhsl(287, 57%, 45%)
HSVhsv(287, 72%, 70%)
CMYKcmyk(16.3%, 72.5%, 0%, 30.2%)
CIE-LABlab(40.90, 59.53, -48.92)
CIE-LCHlch(40.90, 77.05, 320.59°)
OKLaboklab(51.68% 0.1501 -0.1375)
OKLCHoklch(51.68% 0.204 317.5)
XYZxyz(21.5275, 11.8015, 43.2548)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9531B2 #4EB231
analogous
#5531B2 #9531B2 #B2318E
triadic
#9531B2 #B29531 #31B295
tetradic
#9531B2 #B25531 #4EB231 #318EB2
square
#9531B2 #B25531 #4EB231 #318EB2
split-complementary
#9531B2 #8EB231 #31B255
monochromatic
#451752 #6D2482 #9531B2 #B351CF #C881DC

Accessibility & contrast

On white

6.25
#9531B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9531B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9531B2#FFFFFF#000000##FFFFFF
##9531B21.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#3563AF
Tritanopia (blue-blind)
#944B6F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9531b2;
/* rgb */ color: rgb(149, 49, 178);
/* oklch */ color: oklch(51.7% 0.204 317.5);
Tailwind
colors: {
  custom: {
    50: '#b873ca',
    500: '#9531b2',
    950: '#000000',
  },
}
SCSS
$custom: #9531b2;
$custom-light: #b873ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9531b2",
  "rgb": {
    "r": 149,
    "g": 49,
    "b": 178
  },
  "hsl": {
    "h": 286.512,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51675,
    "c": 0.20352,
    "h": 317.5
  },
  "luminance": 0.11801
}

Semantic roles & 50–950 ramp

primary
#9531B2
secondary
#8AC579
accent
#E0486A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9531B2

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

Preview Lab → · Contrast checker → · Palette generator →

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