#9031B7#9031B7

#9031B7 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.206 H 314.0°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#9031B7
RGBrgb(144, 49, 183)
HSLhsl(283, 58%, 45%)
HSVhsv(283, 73%, 72%)
CMYKcmyk(21.3%, 73.2%, 0%, 28.2%)
CIE-LABlab(40.48, 59.50, -52.58)
CIE-LCHlch(40.48, 79.40, 318.53°)
OKLaboklab(51.33% 0.1432 -0.1484)
OKLCHoklch(51.33% 0.206 314)
XYZxyz(21.1457, 11.5455, 45.9052)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9031B7 #58B731
analogous
#4D31B7 #9031B7 #B7319B
triadic
#9031B7 #B79031 #31B790
tetradic
#9031B7 #B74D31 #58B731 #319BB7
square
#9031B7 #B74D31 #58B731 #319BB7
split-complementary
#9031B7 #9BB731 #31B74D
monochromatic
#441756 #6A2487 #9031B7 #AD54D1 #C484DE

Accessibility & contrast

On white

6.35
#9031B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9031B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9031B7
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9031B7#FFFFFF#000000##FFFFFF
##9031B71.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#2862B4
Tritanopia (blue-blind)
#8C4E71
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9031b7;
/* rgb */ color: rgb(144, 49, 183);
/* oklch */ color: oklch(51.3% 0.206 314.0);
Tailwind
colors: {
  custom: {
    50: '#b572cd',
    500: '#9031b7',
    950: '#000000',
  },
}
SCSS
$custom: #9031b7;
$custom-light: #b572cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9031b7",
  "rgb": {
    "r": 144,
    "g": 49,
    "b": 183
  },
  "hsl": {
    "h": 282.537,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51334,
    "c": 0.20624,
    "h": 314
  },
  "luminance": 0.11545
}

Semantic roles & 50–950 ramp

primary
#9031B7
secondary
#92C87C
accent
#E14774
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9031B7

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

Preview Lab → · Contrast checker → · Palette generator →

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