#8B1E9E#8B1E9E

#8B1E9E is a mid, highly saturated purple. Relative luminance 0.089; OKLCH L 47.3% C 0.202 H 321.0°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#8B1E9E
RGBrgb(139, 30, 158)
HSLhsl(291, 68%, 37%)
HSVhsv(291, 81%, 62%)
CMYKcmyk(12%, 81%, 0%, 38%)
CIE-LABlab(35.77, 60.14, -45.29)
CIE-LCHlch(35.77, 75.28, 323.02°)
OKLaboklab(47.3% 0.157 -0.127)
OKLCHoklch(47.3% 0.202 321)
XYZxyz(17.2826, 8.8871, 33.1462)
Luminance0.0889 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1E9E #319E1E
analogous
#4B1E9E #8B1E9E #9E1E71
triadic
#8B1E9E #9E8B1E #1E9E8B
tetradic
#8B1E9E #9E4B1E #319E1E #1E719E
square
#8B1E9E #9E4B1E #319E1E #1E719E
split-complementary
#8B1E9E #719E1E #1E9E4B
monochromatic
#310A37 #5E146B #8B1E9E #B828D1 #CB57DF

Accessibility & contrast

On white

7.56
#8B1E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8B1E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1E9E
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1E9E#FFFFFF#000000##FFFFFF
##8B1E9E1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#2F589B
Tritanopia (blue-blind)
#8C3A5F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b1e9e;
/* rgb */ color: rgb(139, 30, 158);
/* oklch */ color: oklch(47.3% 0.202 321.0);
Tailwind
colors: {
  custom: {
    50: '#b169bb',
    500: '#8b1e9e',
    950: '#000000',
  },
}
SCSS
$custom: #8b1e9e;
$custom-light: #b169bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1e9e",
  "rgb": {
    "r": 139,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 291.094,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47304,
    "c": 0.20196,
    "h": 321
  },
  "luminance": 0.08886
}

Semantic roles & 50–950 ramp

primary
#8B1E9E
secondary
#65C355
accent
#EB3D57
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B1E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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