#9131B7#9131B7

#9131B7 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.207 H 314.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9131B7
RGBrgb(145, 49, 183)
HSLhsl(283, 58%, 45%)
HSVhsv(283, 73%, 72%)
CMYKcmyk(20.8%, 73.2%, 0%, 28.2%)
CIE-LABlab(40.63, 59.70, -52.34)
CIE-LCHlch(40.63, 79.39, 318.76°)
OKLaboklab(51.47% 0.1445 -0.1476)
OKLCHoklch(51.47% 0.207 314.4)
XYZxyz(21.3212, 11.6360, 45.9134)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9131B7 #57B731
analogous
#4E31B7 #9131B7 #B7319A
triadic
#9131B7 #B79131 #31B791
tetradic
#9131B7 #B74E31 #57B731 #319AB7
square
#9131B7 #B74E31 #57B731 #319AB7
split-complementary
#9131B7 #9AB731 #31B74E
monochromatic
#441756 #6B2487 #9131B7 #AE54D1 #C584DE

Accessibility & contrast

On white

6.31
#9131B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9131B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9131B7
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9131B7#FFFFFF#000000##FFFFFF
##9131B71.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#2962B4
Tritanopia (blue-blind)
#8E4E71
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9131b7;
/* rgb */ color: rgb(145, 49, 183);
/* oklch */ color: oklch(51.5% 0.207 314.4);
Tailwind
colors: {
  custom: {
    50: '#b572cd',
    500: '#9131b7',
    950: '#000000',
  },
}
SCSS
$custom: #9131b7;
$custom-light: #b572cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9131b7",
  "rgb": {
    "r": 145,
    "g": 49,
    "b": 183
  },
  "hsl": {
    "h": 282.985,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51469,
    "c": 0.20659,
    "h": 314.4
  },
  "luminance": 0.11635
}

Semantic roles & 50–950 ramp

primary
#9131B7
secondary
#92C87C
accent
#E14773
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9131B7

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

Preview Lab → · Contrast checker → · Palette generator →

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