#8B1EA8#8B1EA8

#8B1EA8 is a mid, highly saturated purple. Relative luminance 0.092; OKLCH L 48.0% C 0.210 H 317.7°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#8B1EA8
RGBrgb(139, 30, 168)
HSLhsl(287, 70%, 39%)
HSVhsv(287, 82%, 66%)
CMYKcmyk(17.3%, 82.1%, 0%, 34.1%)
CIE-LABlab(36.45, 61.99, -50.21)
CIE-LCHlch(36.45, 79.77, 320.99°)
OKLaboklab(48.01% 0.1555 -0.1415)
OKLCHoklch(48.01% 0.21 317.7)
XYZxyz(18.1786, 9.2455, 37.8652)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1EA8 #3BA81E
analogous
#461EA8 #8B1EA8 #A81E80
triadic
#8B1EA8 #A88B1E #1EA88B
tetradic
#8B1EA8 #A8461E #3BA81E #1E80A8
square
#8B1EA8 #A8461E #3BA81E #1E80A8
split-complementary
#8B1EA8 #80A81E #1EA846
monochromatic
#350B40 #601574 #8B1EA8 #B42AD9 #C75EE2

Accessibility & contrast

On white

7.37
#8B1EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8B1EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1EA8
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1EA8#FFFFFF#000000##FFFFFF
##8B1EA81.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#2359A5
Tritanopia (blue-blind)
#8A3F65
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b1ea8;
/* rgb */ color: rgb(139, 30, 168);
/* oklch */ color: oklch(48.0% 0.210 317.7);
Tailwind
colors: {
  custom: {
    50: '#b169c3',
    500: '#8b1ea8',
    950: '#000000',
  },
}
SCSS
$custom: #8b1ea8;
$custom-light: #b169c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1ea8",
  "rgb": {
    "r": 139,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 287.391,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48005,
    "c": 0.21019,
    "h": 317.7
  },
  "luminance": 0.09245
}

Semantic roles & 50–950 ramp

primary
#8B1EA8
secondary
#72C75B
accent
#ED3B61
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8B1EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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