#8B1EA7#8B1EA7

#8B1EA7 is a mid, highly saturated purple. Relative luminance 0.092; OKLCH L 47.9% C 0.209 H 318.0°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8B1EA7
RGBrgb(139, 30, 167)
HSLhsl(288, 70%, 39%)
HSVhsv(288, 82%, 65%)
CMYKcmyk(16.8%, 82%, 0%, 34.5%)
CIE-LABlab(36.38, 61.80, -49.72)
CIE-LCHlch(36.38, 79.32, 321.18°)
OKLaboklab(47.93% 0.1556 -0.14)
OKLCHoklch(47.93% 0.209 318)
XYZxyz(18.0858, 9.2084, 37.3765)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1EA7 #3AA71E
analogous
#461EA7 #8B1EA7 #A71E7E
triadic
#8B1EA7 #A78B1E #1EA78B
tetradic
#8B1EA7 #A7461E #3AA71E #1E7EA7
square
#8B1EA7 #A7461E #3AA71E #1E7EA7
split-complementary
#8B1EA7 #7EA71E #1EA746
monochromatic
#350B3F #601573 #8B1EA7 #B52AD9 #C75DE2

Accessibility & contrast

On white

7.39
#8B1EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8B1EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1EA7
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1EA7#FFFFFF#000000##FFFFFF
##8B1EA71.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#2459A4
Tritanopia (blue-blind)
#8A3E64
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b1ea7;
/* rgb */ color: rgb(139, 30, 167);
/* oklch */ color: oklch(47.9% 0.209 318.0);
Tailwind
colors: {
  custom: {
    50: '#b169c2',
    500: '#8b1ea7',
    950: '#000000',
  },
}
SCSS
$custom: #8b1ea7;
$custom-light: #b169c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1ea7",
  "rgb": {
    "r": 139,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 287.737,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47933,
    "c": 0.20935,
    "h": 318
  },
  "luminance": 0.09208
}

Semantic roles & 50–950 ramp

primary
#8B1EA7
secondary
#71C65B
accent
#EC3B60
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8B1EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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