#8B1EA6#8B1EA6

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

Color values

HEX#8B1EA6
RGBrgb(139, 30, 166)
HSLhsl(288, 69%, 38%)
HSVhsv(288, 82%, 65%)
CMYKcmyk(16.3%, 81.9%, 0%, 34.9%)
CIE-LABlab(36.31, 61.61, -49.23)
CIE-LCHlch(36.31, 78.87, 321.37°)
OKLaboklab(47.86% 0.1558 -0.1386)
OKLCHoklch(47.86% 0.209 318.3)
XYZxyz(17.9937, 9.1716, 36.8915)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1EA6 #39A61E
analogous
#471EA6 #8B1EA6 #A61E7D
triadic
#8B1EA6 #A68B1E #1EA68B
tetradic
#8B1EA6 #A6471E #39A61E #1E7DA6
square
#8B1EA6 #A6471E #39A61E #1E7DA6
split-complementary
#8B1EA6 #7DA61E #1EA647
monochromatic
#340B3E #601572 #8B1EA6 #B529D8 #C75DE2

Accessibility & contrast

On white

7.41
#8B1EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8B1EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1EA6
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1EA6#FFFFFF#000000##FFFFFF
##8B1EA61.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#2659A3
Tritanopia (blue-blind)
#8A3E63
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b1ea6;
/* rgb */ color: rgb(139, 30, 166);
/* oklch */ color: oklch(47.9% 0.209 318.3);
Tailwind
colors: {
  custom: {
    50: '#b169c1',
    500: '#8b1ea6',
    950: '#000000',
  },
}
SCSS
$custom: #8b1ea6;
$custom-light: #b169c1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1ea6",
  "rgb": {
    "r": 139,
    "g": 30,
    "b": 166
  },
  "hsl": {
    "h": 288.088,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47862,
    "c": 0.20853,
    "h": 318.3
  },
  "luminance": 0.09171
}

Semantic roles & 50–950 ramp

primary
#8B1EA6
secondary
#6FC65A
accent
#EC3C5F
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8B1EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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