#8B1EAE#8B1EAE

#8B1EAE is a mid, highly saturated purple. Relative luminance 0.095; OKLCH L 48.4% C 0.215 H 315.8°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8B1EAE
RGBrgb(139, 30, 174)
HSLhsl(285, 71%, 40%)
HSVhsv(285, 83%, 68%)
CMYKcmyk(20.1%, 82.8%, 0%, 31.8%)
CIE-LABlab(36.88, 63.13, -53.10)
CIE-LCHlch(36.88, 82.49, 319.93°)
OKLaboklab(48.44% 0.1543 -0.15)
OKLCHoklch(48.44% 0.215 315.8)
XYZxyz(18.7505, 9.4743, 40.8772)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1EAE #41AE1E
analogous
#431EAE #8B1EAE #AE1E89
triadic
#8B1EAE #AE8B1E #1EAE8B
tetradic
#8B1EAE #AE431E #41AE1E #1E89AE
square
#8B1EAE #AE431E #41AE1E #1E89AE
split-complementary
#8B1EAE #89AE1E #1EAE43
monochromatic
#380C46 #61157A #8B1EAE #B12EDB #C562E4

Accessibility & contrast

On white

7.25
#8B1EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8B1EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1EAE
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1EAE#FFFFFF#000000##FFFFFF
##8B1EAE1.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#195AAB
Tritanopia (blue-blind)
#884268
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b1eae;
/* rgb */ color: rgb(139, 30, 174);
/* oklch */ color: oklch(48.4% 0.215 315.8);
Tailwind
colors: {
  custom: {
    50: '#b269c7',
    500: '#8b1eae',
    950: '#000000',
  },
}
SCSS
$custom: #8b1eae;
$custom-light: #b269c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1eae",
  "rgb": {
    "r": 139,
    "g": 30,
    "b": 174
  },
  "hsl": {
    "h": 285.417,
    "s": 70.588,
    "l": 40
  },
  "oklch": {
    "l": 0.48441,
    "c": 0.21517,
    "h": 315.8
  },
  "luminance": 0.09474
}

Semantic roles & 50–950 ramp

primary
#8B1EAE
secondary
#79C95F
accent
#ED3A66
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8B1EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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