#8B1FAE#8B1FAE

#8B1FAE is a mid, highly saturated purple. Relative luminance 0.095; OKLCH L 48.5% C 0.214 H 315.8°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8B1FAE
RGBrgb(139, 31, 174)
HSLhsl(285, 70%, 40%)
HSVhsv(285, 82%, 68%)
CMYKcmyk(20.1%, 82.2%, 0%, 31.8%)
CIE-LABlab(36.98, 62.85, -52.95)
CIE-LCHlch(36.98, 82.18, 319.89°)
OKLaboklab(48.51% 0.1536 -0.1495)
OKLCHoklch(48.51% 0.214 315.8)
XYZxyz(18.7762, 9.5257, 40.8858)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1FAE #42AE1F
analogous
#441FAE #8B1FAE #AE1F89
triadic
#8B1FAE #AE8B1F #1FAE8B
tetradic
#8B1FAE #AE441F #42AE1F #1F89AE
square
#8B1FAE #AE441F #42AE1F #1F89AE
split-complementary
#8B1FAE #89AE1F #1FAE44
monochromatic
#380C46 #62167A #8B1FAE #B130DA #C464E3

Accessibility & contrast

On white

7.23
#8B1FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8B1FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1FAE
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1FAE#FFFFFF#000000##FFFFFF
##8B1FAE1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#1A5AAB
Tritanopia (blue-blind)
#884268
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b1fae;
/* rgb */ color: rgb(139, 31, 174);
/* oklch */ color: oklch(48.5% 0.214 315.8);
Tailwind
colors: {
  custom: {
    50: '#b26ac7',
    500: '#8b1fae',
    950: '#000000',
  },
}
SCSS
$custom: #8b1fae;
$custom-light: #b26ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1fae",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 174
  },
  "hsl": {
    "h": 285.315,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48508,
    "c": 0.21436,
    "h": 315.8
  },
  "luminance": 0.09525
}

Semantic roles & 50–950 ramp

primary
#8B1FAE
secondary
#7AC860
accent
#ED3B67
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8B1FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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