#9B31AE#9B31AE

#9B31AE is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.202 H 321.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9B31AE
RGBrgb(155, 49, 174)
HSLhsl(291, 56%, 44%)
HSVhsv(291, 72%, 68%)
CMYKcmyk(10.9%, 71.8%, 0%, 31.8%)
CIE-LABlab(41.57, 60.04, -45.43)
CIE-LCHlch(41.57, 75.29, 322.89°)
OKLaboklab(52.26% 0.1576 -0.1271)
OKLCHoklch(52.26% 0.202 321.1)
XYZxyz(22.2550, 12.2224, 41.2231)
Luminance0.1222 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B31AE #44AE31
analogous
#5C31AE #9B31AE #AE3182
triadic
#9B31AE #AE9B31 #31AE9B
tetradic
#9B31AE #AE5C31 #44AE31 #3182AE
square
#9B31AE #AE5C31 #44AE31 #3182AE
split-complementary
#9B31AE #82AE31 #31AE5C
monochromatic
#46164E #70247E #9B31AE #BA4FCD #CD7FDB

Accessibility & contrast

On white

6.10
#9B31AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9B31AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B31AE
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B31AE#FFFFFF#000000##FFFFFF
##9B31AE1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#3F66AB
Tritanopia (blue-blind)
#9C486C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9b31ae;
/* rgb */ color: rgb(155, 49, 174);
/* oklch */ color: oklch(52.3% 0.202 321.1);
Tailwind
colors: {
  custom: {
    50: '#bc73c7',
    500: '#9b31ae',
    950: '#000000',
  },
}
SCSS
$custom: #9b31ae;
$custom-light: #bc73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b31ae",
  "rgb": {
    "r": 155,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 290.88,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52255,
    "c": 0.20246,
    "h": 321.1
  },
  "luminance": 0.12221
}

Semantic roles & 50–950 ramp

primary
#9B31AE
secondary
#83C477
accent
#DF485F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B31AE

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

Preview Lab → · Contrast checker → · Palette generator →

#9B31AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva