#9131BC#9131BC

#9131BC is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.211 H 312.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9131BC
RGBrgb(145, 49, 188)
HSLhsl(281, 59%, 46%)
HSVhsv(281, 74%, 74%)
CMYKcmyk(22.9%, 73.9%, 0%, 26.3%)
CIE-LABlab(40.97, 60.72, -54.72)
CIE-LCHlch(40.97, 81.75, 317.98°)
OKLaboklab(51.82% 0.1438 -0.1546)
OKLCHoklch(51.82% 0.211 312.9)
XYZxyz(21.8508, 11.8479, 48.7030)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9131BC #5CBC31
analogous
#4C31BC #9131BC #BC31A2
triadic
#9131BC #BC9131 #31BC91
tetradic
#9131BC #BC4C31 #5CBC31 #31A2BC
square
#9131BC #BC4C31 #5CBC31 #31A2BC
split-complementary
#9131BC #A2BC31 #31BC4C
monochromatic
#46185B #6C248B #9131BC #AD57D3 #C588E0

Accessibility & contrast

On white

6.23
#9131BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9131BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9131BC
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9131BC#FFFFFF#000000##FFFFFF
##9131BC1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#2263B9
Tritanopia (blue-blind)
#8C5074
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9131bc;
/* rgb */ color: rgb(145, 49, 188);
/* oklch */ color: oklch(51.8% 0.211 312.9);
Tailwind
colors: {
  custom: {
    50: '#b673d1',
    500: '#9131bc',
    950: '#000000',
  },
}
SCSS
$custom: #9131bc;
$custom-light: #b673d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9131bc",
  "rgb": {
    "r": 145,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 281.439,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51819,
    "c": 0.21118,
    "h": 312.9
  },
  "luminance": 0.11847
}

Semantic roles & 50–950 ramp

primary
#9131BC
secondary
#96CA7F
accent
#E24676
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9131BC

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

Preview Lab → · Contrast checker → · Palette generator →

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