#9131B2#9131B2

#9131B2 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.1% C 0.202 H 315.9°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9131B2
RGBrgb(145, 49, 178)
HSLhsl(285, 57%, 45%)
HSVhsv(285, 72%, 70%)
CMYKcmyk(18.5%, 72.5%, 0%, 30.2%)
CIE-LABlab(40.30, 58.69, -49.92)
CIE-LCHlch(40.30, 77.05, 319.62°)
OKLaboklab(51.13% 0.1451 -0.1405)
OKLCHoklch(51.13% 0.202 315.9)
XYZxyz(20.8100, 11.4315, 43.2212)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9131B2 #52B231
analogous
#5131B2 #9131B2 #B23193
triadic
#9131B2 #B29131 #31B291
tetradic
#9131B2 #B25131 #52B231 #3193B2
square
#9131B2 #B25131 #52B231 #3193B2
split-complementary
#9131B2 #93B231 #31B251
monochromatic
#431752 #6A2482 #9131B2 #AF51CF #C581DC

Accessibility & contrast

On white

6.39
#9131B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9131B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9131B2
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9131B2#FFFFFF#000000##FFFFFF
##9131B21.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#2F62AF
Tritanopia (blue-blind)
#8F4C6F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9131b2;
/* rgb */ color: rgb(145, 49, 178);
/* oklch */ color: oklch(51.1% 0.202 315.9);
Tailwind
colors: {
  custom: {
    50: '#b572ca',
    500: '#9131b2',
    950: '#000000',
  },
}
SCSS
$custom: #9131b2;
$custom-light: #b572ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9131b2",
  "rgb": {
    "r": 145,
    "g": 49,
    "b": 178
  },
  "hsl": {
    "h": 284.651,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51125,
    "c": 0.202,
    "h": 315.9
  },
  "luminance": 0.11431
}

Semantic roles & 50–950 ramp

primary
#9131B2
secondary
#8DC579
accent
#E0486F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9131B2

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

Preview Lab → · Contrast checker → · Palette generator →

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