#9531A2#9531A2

#9531A2 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.6% C 0.189 H 322.9°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9531A2
RGBrgb(149, 49, 162)
HSLhsl(293, 54%, 41%)
HSVhsv(293, 70%, 64%)
CMYKcmyk(8%, 69.8%, 0%, 36.5%)
CIE-LABlab(39.91, 56.48, -40.98)
CIE-LCHlch(39.91, 69.78, 324.04°)
OKLaboklab(50.65% 0.151 -0.1142)
OKLCHoklch(50.65% 0.189 322.9)
XYZxyz(20.0137, 11.1960, 35.2823)
Luminance0.1119 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9531A2 #3EA231
analogous
#5D31A2 #9531A2 #A23177
triadic
#9531A2 #A29531 #31A295
tetradic
#9531A2 #A25D31 #3EA231 #3177A2
square
#9531A2 #A25D31 #3EA231 #3177A2
split-complementary
#9531A2 #77A231 #31A25D
monochromatic
#3F1544 #6A2373 #9531A2 #B948C8 #CB77D6

Accessibility & contrast

On white

6.48
#9531A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9531A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9531A2#FFFFFF#000000##FFFFFF
##9531A21.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D57A5
Deuteranopia (green-blind)
#42629F
Tritanopia (blue-blind)
#974466
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9531a2;
/* rgb */ color: rgb(149, 49, 162);
/* oklch */ color: oklch(50.6% 0.189 322.9);
Tailwind
colors: {
  custom: {
    50: '#b772be',
    500: '#9531a2',
    950: '#000000',
  },
}
SCSS
$custom: #9531a2;
$custom-light: #b772be;
$custom-dark: #000000;
JSON
{
  "hex": "#9531a2",
  "rgb": {
    "r": 149,
    "g": 49,
    "b": 162
  },
  "hsl": {
    "h": 293.097,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5065,
    "c": 0.18936,
    "h": 322.9
  },
  "luminance": 0.11195
}

Semantic roles & 50–950 ramp

primary
#9531A2
secondary
#7ABE71
accent
#DD4B5C
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9531A2

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

Preview Lab → · Contrast checker → · Palette generator →

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