#8B1E88#8B1E88

#8B1E88 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.184 H 329.3°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#8B1E88
RGBrgb(139, 30, 136)
HSLhsl(302, 64%, 33%)
HSVhsv(302, 78%, 55%)
CMYKcmyk(0%, 78.4%, 2.2%, 45.5%)
CIE-LABlab(34.39, 56.31, -34.02)
CIE-LCHlch(34.39, 65.79, 328.86°)
OKLaboklab(45.89% 0.1586 -0.0941)
OKLCHoklch(45.89% 0.184 329.3)
XYZxyz(15.5556, 8.1963, 24.0505)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1E88 #1E8B21
analogous
#571E8B #8B1E88 #8B1E52
triadic
#8B1E88 #888B1E #1E888B
tetradic
#8B1E88 #8B571E #1E8B21 #1E528B
square
#8B1E88 #8B571E #1E8B21 #1E528B
split-complementary
#8B1E88 #528B1E #1E8B57
monochromatic
#260825 #591357 #8B1E88 #BD29B9 #D84BD4

Accessibility & contrast

On white

7.96
#8B1E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8B1E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1E88
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1E88#FFFFFF#000000##FFFFFF
##8B1E881.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08488B
Deuteranopia (green-blind)
#3F5685
Tritanopia (blue-blind)
#902F52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b1e88;
/* rgb */ color: rgb(139, 30, 136);
/* oklch */ color: oklch(45.9% 0.184 329.3);
Tailwind
colors: {
  custom: {
    50: '#b068ab',
    500: '#8b1e88',
    950: '#000000',
  },
}
SCSS
$custom: #8b1e88;
$custom-light: #b068ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1e88",
  "rgb": {
    "r": 139,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 301.651,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45885,
    "c": 0.18445,
    "h": 329.3
  },
  "luminance": 0.08195
}

Semantic roles & 50–950 ramp

primary
#8B1E88
secondary
#4ABB4D
accent
#E74540
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B1E88

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

Preview Lab → · Contrast checker → · Palette generator →

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