#9031BB#9031BB

#9031BB is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.210 H 312.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#9031BB
RGBrgb(144, 49, 187)
HSLhsl(281, 58%, 46%)
HSVhsv(281, 74%, 73%)
CMYKcmyk(23%, 73.8%, 0%, 26.7%)
CIE-LABlab(40.76, 60.32, -54.49)
CIE-LCHlch(40.76, 81.29, 317.91°)
OKLaboklab(51.62% 0.1427 -0.154)
OKLCHoklch(51.62% 0.21 312.8)
XYZxyz(21.5679, 11.7144, 48.1290)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9031BB #5CBB31
analogous
#4B31BB #9031BB #BB31A1
triadic
#9031BB #BB9031 #31BB90
tetradic
#9031BB #BB4B31 #5CBB31 #31A1BB
square
#9031BB #BB4B31 #5CBB31 #31A1BB
split-complementary
#9031BB #A1BB31 #31BB4B
monochromatic
#45185A #6B248B #9031BB #AC56D3 #C487E0

Accessibility & contrast

On white

6.28
#9031BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9031BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9031BB
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9031BB#FFFFFF#000000##FFFFFF
##9031BB1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#2162B8
Tritanopia (blue-blind)
#8B5074
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9031bb;
/* rgb */ color: rgb(144, 49, 187);
/* oklch */ color: oklch(51.6% 0.210 312.8);
Tailwind
colors: {
  custom: {
    50: '#b572d0',
    500: '#9031bb',
    950: '#000000',
  },
}
SCSS
$custom: #9031bb;
$custom-light: #b572d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9031bb",
  "rgb": {
    "r": 144,
    "g": 49,
    "b": 187
  },
  "hsl": {
    "h": 281.304,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51615,
    "c": 0.20993,
    "h": 312.8
  },
  "luminance": 0.11714
}

Semantic roles & 50–950 ramp

primary
#9031BB
secondary
#96C97F
accent
#E24677
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9031BB

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

Preview Lab → · Contrast checker → · Palette generator →

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