#9031A4#9031A4

#9031A4 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.1% C 0.189 H 320.1°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9031A4
RGBrgb(144, 49, 164)
HSLhsl(290, 54%, 42%)
HSVhsv(290, 70%, 64%)
CMYKcmyk(12.2%, 70.1%, 0%, 35.7%)
CIE-LABlab(39.25, 55.72, -43.27)
CIE-LCHlch(39.25, 70.55, 322.17°)
OKLaboklab(50.06% 0.145 -0.1211)
OKLCHoklch(50.06% 0.189 320.1)
XYZxyz(19.2999, 10.8072, 36.1842)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9031A4 #45A431
analogous
#5731A4 #9031A4 #A4317F
triadic
#9031A4 #A49031 #31A490
tetradic
#9031A4 #A45731 #45A431 #317FA4
square
#9031A4 #A45731 #45A431 #317FA4
split-complementary
#9031A4 #7FA431 #31A457
monochromatic
#3D1546 #672375 #9031A4 #B349C9 #C679D7

Accessibility & contrast

On white

6.64
#9031A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9031A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9031A4
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9031A4#FFFFFF#000000##FFFFFF
##9031A41.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#3B60A1
Tritanopia (blue-blind)
#914667
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9031a4;
/* rgb */ color: rgb(144, 49, 164);
/* oklch */ color: oklch(50.1% 0.189 320.1);
Tailwind
colors: {
  custom: {
    50: '#b472bf',
    500: '#9031a4',
    950: '#000000',
  },
}
SCSS
$custom: #9031a4;
$custom-light: #b472bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9031a4",
  "rgb": {
    "r": 144,
    "g": 49,
    "b": 164
  },
  "hsl": {
    "h": 289.565,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50064,
    "c": 0.18888,
    "h": 320.1
  },
  "luminance": 0.10806
}

Semantic roles & 50–950 ramp

primary
#9031A4
secondary
#7FBF72
accent
#DD4A64
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #9031A4

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

Preview Lab → · Contrast checker → · Palette generator →

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