#8B1EA0#8B1EA0

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

Color values

HEX#8B1EA0
RGBrgb(139, 30, 160)
HSLhsl(290, 68%, 37%)
HSVhsv(290, 81%, 63%)
CMYKcmyk(13.1%, 81.3%, 0%, 37.3%)
CIE-LABlab(35.90, 60.50, -46.28)
CIE-LCHlch(35.90, 76.17, 322.58°)
OKLaboklab(47.44% 0.1567 -0.1299)
OKLCHoklch(47.44% 0.204 320.3)
XYZxyz(17.4561, 8.9565, 34.0602)
Luminance0.0896 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1EA0 #33A01E
analogous
#4A1EA0 #8B1EA0 #A01E74
triadic
#8B1EA0 #A08B1E #1EA08B
tetradic
#8B1EA0 #A04A1E #33A01E #1E74A0
square
#8B1EA0 #A04A1E #33A01E #1E74A0
split-complementary
#8B1EA0 #74A01E #1EA04A
monochromatic
#310B39 #5E146C #8B1EA0 #B828D4 #CA59E0

Accessibility & contrast

On white

7.52
#8B1EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8B1EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1EA0
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1EA0#FFFFFF#000000##FFFFFF
##8B1EA01.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#2D589D
Tritanopia (blue-blind)
#8C3B60
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b1ea0;
/* rgb */ color: rgb(139, 30, 160);
/* oklch */ color: oklch(47.4% 0.204 320.3);
Tailwind
colors: {
  custom: {
    50: '#b169bd',
    500: '#8b1ea0',
    950: '#000000',
  },
}
SCSS
$custom: #8b1ea0;
$custom-light: #b169bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1ea0",
  "rgb": {
    "r": 139,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 290.308,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47441,
    "c": 0.2036,
    "h": 320.3
  },
  "luminance": 0.08956
}

Semantic roles & 50–950 ramp

primary
#8B1EA0
secondary
#68C456
accent
#EB3D59
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B1EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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