#9031AB#9031AB

#9031AB is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.195 H 317.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9031AB
RGBrgb(144, 49, 171)
HSLhsl(287, 55%, 43%)
HSVhsv(287, 71%, 67%)
CMYKcmyk(15.8%, 71.3%, 0%, 32.9%)
CIE-LABlab(39.69, 57.09, -46.74)
CIE-LCHlch(39.69, 73.78, 320.69°)
OKLaboklab(50.52% 0.1445 -0.1313)
OKLCHoklch(50.52% 0.195 317.8)
XYZxyz(19.9496, 11.0671, 39.6055)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9031AB #4CAB31
analogous
#5331AB #9031AB #AB3189
triadic
#9031AB #AB9031 #31AB90
tetradic
#9031AB #AB5331 #4CAB31 #3189AB
square
#9031AB #AB5331 #4CAB31 #3189AB
split-complementary
#9031AB #89AB31 #31AB53
monochromatic
#40164C #68237B #9031AB #B04DCC #C57DDA

Accessibility & contrast

On white

6.54
#9031AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9031AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9031AB
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9031AB#FFFFFF#000000##FFFFFF
##9031AB1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#3560A8
Tritanopia (blue-blind)
#8F496B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9031ab;
/* rgb */ color: rgb(144, 49, 171);
/* oklch */ color: oklch(50.5% 0.195 317.8);
Tailwind
colors: {
  custom: {
    50: '#b472c5',
    500: '#9031ab',
    950: '#000000',
  },
}
SCSS
$custom: #9031ab;
$custom-light: #b472c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9031ab",
  "rgb": {
    "r": 144,
    "g": 49,
    "b": 171
  },
  "hsl": {
    "h": 286.721,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50519,
    "c": 0.19522,
    "h": 317.8
  },
  "luminance": 0.11066
}

Semantic roles & 50–950 ramp

primary
#9031AB
secondary
#86C275
accent
#DF496A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9031AB

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

Preview Lab → · Contrast checker → · Palette generator →

#9031AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva