#8B1FA1#8B1FA1

#8B1FA1 is a mid, highly saturated purple. Relative luminance 0.090; OKLCH L 47.6% C 0.204 H 320.0°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#8B1FA1
RGBrgb(139, 31, 161)
HSLhsl(290, 68%, 38%)
HSVhsv(290, 81%, 63%)
CMYKcmyk(13.7%, 80.7%, 0%, 36.9%)
CIE-LABlab(36.07, 60.40, -46.62)
CIE-LCHlch(36.07, 76.30, 322.34°)
OKLaboklab(47.58% 0.1558 -0.1309)
OKLCHoklch(47.58% 0.204 320)
XYZxyz(17.5697, 9.0431, 34.5313)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1FA1 #35A11F
analogous
#4A1FA1 #8B1FA1 #A11F76
triadic
#8B1FA1 #A18B1F #1FA18B
tetradic
#8B1FA1 #A14A1F #35A11F #1F76A1
square
#8B1FA1 #A14A1F #35A11F #1F76A1
split-complementary
#8B1FA1 #76A11F #1FA14A
monochromatic
#320B3A #5F156E #8B1FA1 #B729D4 #C95BDF

Accessibility & contrast

On white

7.48
#8B1FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8B1FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1FA1
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1FA1#FFFFFF#000000##FFFFFF
##8B1FA11.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#2C589E
Tritanopia (blue-blind)
#8B3C61
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b1fa1;
/* rgb */ color: rgb(139, 31, 161);
/* oklch */ color: oklch(47.6% 0.204 320.0);
Tailwind
colors: {
  custom: {
    50: '#b169bd',
    500: '#8b1fa1',
    950: '#000000',
  },
}
SCSS
$custom: #8b1fa1;
$custom-light: #b169bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1fa1",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 161
  },
  "hsl": {
    "h": 289.846,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4758,
    "c": 0.20354,
    "h": 320
  },
  "luminance": 0.09042
}

Semantic roles & 50–950 ramp

primary
#8B1FA1
secondary
#6AC458
accent
#EB3D5B
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B1FA1

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

Preview Lab → · Contrast checker → · Palette generator →

#8B1FA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva