#9031BC#9031BC

#9031BC is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.211 H 312.5°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#9031BC
RGBrgb(144, 49, 188)
HSLhsl(281, 59%, 46%)
HSVhsv(281, 74%, 74%)
CMYKcmyk(23.4%, 73.9%, 0%, 26.3%)
CIE-LABlab(40.83, 60.53, -54.97)
CIE-LCHlch(40.83, 81.76, 317.76°)
OKLaboklab(51.69% 0.1425 -0.1554)
OKLCHoklch(51.69% 0.211 312.5)
XYZxyz(21.6754, 11.7574, 48.6948)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9031BC #5DBC31
analogous
#4B31BC #9031BC #BC31A3
triadic
#9031BC #BC9031 #31BC90
tetradic
#9031BC #BC4B31 #5DBC31 #31A3BC
square
#9031BC #BC4B31 #5DBC31 #31A3BC
split-complementary
#9031BC #A3BC31 #31BC4B
monochromatic
#46185B #6B248B #9031BC #AC57D3 #C488E0

Accessibility & contrast

On white

6.27
#9031BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9031BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9031BC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9031BC#FFFFFF#000000##FFFFFF
##9031BC1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#2062B9
Tritanopia (blue-blind)
#8B5074
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9031bc;
/* rgb */ color: rgb(144, 49, 188);
/* oklch */ color: oklch(51.7% 0.211 312.5);
Tailwind
colors: {
  custom: {
    50: '#b573d1',
    500: '#9031bc',
    950: '#000000',
  },
}
SCSS
$custom: #9031bc;
$custom-light: #b573d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9031bc",
  "rgb": {
    "r": 144,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 281.007,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51686,
    "c": 0.21086,
    "h": 312.5
  },
  "luminance": 0.11757
}

Semantic roles & 50–950 ramp

primary
#9031BC
secondary
#97CA7F
accent
#E24677
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9031BC

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

Preview Lab → · Contrast checker → · Palette generator →

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