#9131AC#9131AC

#9131AC is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.197 H 317.8°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9131AC
RGBrgb(145, 49, 172)
HSLhsl(287, 56%, 43%)
HSVhsv(287, 72%, 67%)
CMYKcmyk(15.7%, 71.5%, 0%, 32.5%)
CIE-LABlab(39.91, 57.50, -46.99)
CIE-LCHlch(39.91, 74.26, 320.75°)
OKLaboklab(50.72% 0.1457 -0.1319)
OKLCHoklch(50.72% 0.197 317.8)
XYZxyz(20.2207, 11.1958, 40.1176)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9131AC #4CAC31
analogous
#5331AC #9131AC #AC3189
triadic
#9131AC #AC9131 #31AC91
tetradic
#9131AC #AC5331 #4CAC31 #3189AC
square
#9131AC #AC5331 #4CAC31 #3189AC
split-complementary
#9131AC #89AC31 #31AC53
monochromatic
#41164D #69237C #9131AC #B14ECC #C67DDA

Accessibility & contrast

On white

6.48
#9131AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9131AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9131AC
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9131AC#FFFFFF#000000##FFFFFF
##9131AC1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#3661A9
Tritanopia (blue-blind)
#90496B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9131ac;
/* rgb */ color: rgb(145, 49, 172);
/* oklch */ color: oklch(50.7% 0.197 317.8);
Tailwind
colors: {
  custom: {
    50: '#b572c5',
    500: '#9131ac',
    950: '#000000',
  },
}
SCSS
$custom: #9131ac;
$custom-light: #b572c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9131ac",
  "rgb": {
    "r": 145,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 286.829,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50723,
    "c": 0.19653,
    "h": 317.8
  },
  "luminance": 0.11195
}

Semantic roles & 50–950 ramp

primary
#9131AC
secondary
#87C376
accent
#DF496A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9131AC

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

Preview Lab → · Contrast checker → · Palette generator →

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