#9031B1#9031B1

#9031B1 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 50.9% C 0.201 H 315.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9031B1
RGBrgb(144, 49, 177)
HSLhsl(285, 57%, 44%)
HSVhsv(285, 72%, 69%)
CMYKcmyk(18.6%, 72.3%, 0%, 30.6%)
CIE-LABlab(40.08, 58.28, -49.68)
CIE-LCHlch(40.08, 76.59, 319.56°)
OKLaboklab(50.92% 0.144 -0.1399)
OKLCHoklch(50.92% 0.201 315.8)
XYZxyz(20.5345, 11.3010, 42.6861)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9031B1 #52B131
analogous
#5031B1 #9031B1 #B13192
triadic
#9031B1 #B19031 #31B190
tetradic
#9031B1 #B15031 #52B131 #3192B1
square
#9031B1 #B15031 #52B131 #3192B1
split-complementary
#9031B1 #92B131 #31B150
monochromatic
#421651 #692481 #9031B1 #AE51CF #C480DC

Accessibility & contrast

On white

6.44
#9031B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9031B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9031B1
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9031B1#FFFFFF#000000##FFFFFF
##9031B11.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B5
Deuteranopia (green-blind)
#2F61AE
Tritanopia (blue-blind)
#8E4C6E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9031b1;
/* rgb */ color: rgb(144, 49, 177);
/* oklch */ color: oklch(50.9% 0.201 315.8);
Tailwind
colors: {
  custom: {
    50: '#b472c9',
    500: '#9031b1',
    950: '#000000',
  },
}
SCSS
$custom: #9031b1;
$custom-light: #b472c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9031b1",
  "rgb": {
    "r": 144,
    "g": 49,
    "b": 177
  },
  "hsl": {
    "h": 284.531,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50921,
    "c": 0.20071,
    "h": 315.8
  },
  "luminance": 0.113
}

Semantic roles & 50–950 ramp

primary
#9031B1
secondary
#8CC579
accent
#E0486F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9031B1

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

Preview Lab → · Contrast checker → · Palette generator →

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