#9031B2#9031B2

#9031B2 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.0% C 0.202 H 315.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#9031B2
RGBrgb(144, 49, 178)
HSLhsl(284, 57%, 45%)
HSVhsv(284, 72%, 70%)
CMYKcmyk(19.1%, 72.5%, 0%, 30.2%)
CIE-LABlab(40.15, 58.49, -50.17)
CIE-LCHlch(40.15, 77.05, 319.38°)
OKLaboklab(50.99% 0.1438 -0.1413)
OKLCHoklch(50.99% 0.202 315.5)
XYZxyz(20.6345, 11.3410, 43.2129)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9031B2 #53B231
analogous
#5031B2 #9031B2 #B23194
triadic
#9031B2 #B29031 #31B290
tetradic
#9031B2 #B25031 #53B231 #3194B2
square
#9031B2 #B25031 #53B231 #3194B2
split-complementary
#9031B2 #94B231 #31B250
monochromatic
#421752 #692482 #9031B2 #AE51CF #C481DC

Accessibility & contrast

On white

6.43
#9031B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9031B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9031B2
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9031B2#FFFFFF#000000##FFFFFF
##9031B21.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#2E61AF
Tritanopia (blue-blind)
#8D4C6F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9031b2;
/* rgb */ color: rgb(144, 49, 178);
/* oklch */ color: oklch(51.0% 0.202 315.5);
Tailwind
colors: {
  custom: {
    50: '#b472ca',
    500: '#9031b2',
    950: '#000000',
  },
}
SCSS
$custom: #9031b2;
$custom-light: #b472ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9031b2",
  "rgb": {
    "r": 144,
    "g": 49,
    "b": 178
  },
  "hsl": {
    "h": 284.186,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50989,
    "c": 0.20163,
    "h": 315.5
  },
  "luminance": 0.1134
}

Semantic roles & 50–950 ramp

primary
#9031B2
secondary
#8DC579
accent
#E04870
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9031B2

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

Preview Lab → · Contrast checker → · Palette generator →

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