#8B1EA1#8B1EA1

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

Color values

HEX#8B1EA1
RGBrgb(139, 30, 161)
HSLhsl(290, 69%, 37%)
HSVhsv(290, 81%, 63%)
CMYKcmyk(13.7%, 81.4%, 0%, 36.9%)
CIE-LABlab(35.97, 60.69, -46.78)
CIE-LCHlch(35.97, 76.62, 322.37°)
OKLaboklab(47.51% 0.1566 -0.1314)
OKLCHoklch(47.51% 0.204 320)
XYZxyz(17.5440, 8.9917, 34.5228)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1EA1 #34A11E
analogous
#4A1EA1 #8B1EA1 #A11E75
triadic
#8B1EA1 #A18B1E #1EA18B
tetradic
#8B1EA1 #A14A1E #34A11E #1E75A1
square
#8B1EA1 #A14A1E #34A11E #1E75A1
split-complementary
#8B1EA1 #75A11E #1EA14A
monochromatic
#320B3A #5E146D #8B1EA1 #B828D5 #C959E0

Accessibility & contrast

On white

7.50
#8B1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8B1EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1EA1
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1EA1#FFFFFF#000000##FFFFFF
##8B1EA11.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b1ea1;
/* rgb */ color: rgb(139, 30, 161);
/* oklch */ color: oklch(47.5% 0.204 320.0);
Tailwind
colors: {
  custom: {
    50: '#b169bd',
    500: '#8b1ea1',
    950: '#000000',
  },
}
SCSS
$custom: #8b1ea1;
$custom-light: #b169bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1ea1",
  "rgb": {
    "r": 139,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 289.924,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4751,
    "c": 0.20441,
    "h": 320
  },
  "luminance": 0.08991
}

Semantic roles & 50–950 ramp

primary
#8B1EA1
secondary
#69C457
accent
#EB3C5A
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B1EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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