#9131B8#9131B8

#9131B8 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.5% C 0.208 H 314.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9131B8
RGBrgb(145, 49, 184)
HSLhsl(283, 58%, 46%)
HSVhsv(283, 73%, 72%)
CMYKcmyk(21.2%, 73.4%, 0%, 27.8%)
CIE-LABlab(40.70, 59.91, -52.82)
CIE-LCHlch(40.70, 79.86, 318.60°)
OKLaboklab(51.54% 0.1444 -0.149)
OKLCHoklch(51.54% 0.208 314.1)
XYZxyz(21.4256, 11.6778, 46.4635)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9131B8 #58B831
analogous
#4E31B8 #9131B8 #B8319B
triadic
#9131B8 #B89131 #31B891
tetradic
#9131B8 #B84E31 #58B831 #319BB8
square
#9131B8 #B84E31 #58B831 #319BB8
split-complementary
#9131B8 #9BB831 #31B84E
monochromatic
#451757 #6B2488 #9131B8 #AD55D2 #C585DE

Accessibility & contrast

On white

6.30
#9131B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9131B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9131B8
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9131B8#FFFFFF#000000##FFFFFF
##9131B81.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBC
Deuteranopia (green-blind)
#2862B5
Tritanopia (blue-blind)
#8D4E72
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9131b8;
/* rgb */ color: rgb(145, 49, 184);
/* oklch */ color: oklch(51.5% 0.208 314.1);
Tailwind
colors: {
  custom: {
    50: '#b572ce',
    500: '#9131b8',
    950: '#000000',
  },
}
SCSS
$custom: #9131b8;
$custom-light: #b572ce;
$custom-dark: #000000;
JSON
{
  "hex": "#9131b8",
  "rgb": {
    "r": 145,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 282.667,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51538,
    "c": 0.20751,
    "h": 314.1
  },
  "luminance": 0.11677
}

Semantic roles & 50–950 ramp

primary
#9131B8
secondary
#93C87D
accent
#E14773
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9131B8

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

Preview Lab → · Contrast checker → · Palette generator →

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