#9131BA#9131BA

#9131BA is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.209 H 313.5°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9131BA
RGBrgb(145, 49, 186)
HSLhsl(282, 58%, 46%)
HSVhsv(282, 74%, 73%)
CMYKcmyk(22%, 73.7%, 0%, 27.1%)
CIE-LABlab(40.84, 60.31, -53.77)
CIE-LCHlch(40.84, 80.80, 318.28°)
OKLaboklab(51.68% 0.1441 -0.1518)
OKLCHoklch(51.68% 0.209 313.5)
XYZxyz(21.6367, 11.7622, 47.5754)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9131BA #5ABA31
analogous
#4C31BA #9131BA #BA319E
triadic
#9131BA #BA9131 #31BA91
tetradic
#9131BA #BA4C31 #5ABA31 #319EBA
square
#9131BA #BA4C31 #5ABA31 #319EBA
split-complementary
#9131BA #9EBA31 #31BA4C
monochromatic
#451759 #6B248A #9131BA #AD56D2 #C586DF

Accessibility & contrast

On white

6.26
#9131BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9131BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9131BA
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9131BA#FFFFFF#000000##FFFFFF
##9131BA1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#2562B7
Tritanopia (blue-blind)
#8D4F73
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9131ba;
/* rgb */ color: rgb(145, 49, 186);
/* oklch */ color: oklch(51.7% 0.209 313.5);
Tailwind
colors: {
  custom: {
    50: '#b673cf',
    500: '#9131ba',
    950: '#000000',
  },
}
SCSS
$custom: #9131ba;
$custom-light: #b673cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9131ba",
  "rgb": {
    "r": 145,
    "g": 49,
    "b": 186
  },
  "hsl": {
    "h": 282.044,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51678,
    "c": 0.20934,
    "h": 313.5
  },
  "luminance": 0.11762
}

Semantic roles & 50–950 ramp

primary
#9131BA
secondary
#94C97E
accent
#E24675
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9131BA

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

Preview Lab → · Contrast checker → · Palette generator →

#9131BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva