#8B1E82#8B1E82

#8B1E82 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.180 H 331.8°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#8B1E82
RGBrgb(139, 30, 130)
HSLhsl(305, 64%, 33%)
HSVhsv(305, 78%, 55%)
CMYKcmyk(0%, 78.4%, 6.5%, 45.5%)
CIE-LABlab(34.05, 55.33, -30.84)
CIE-LCHlch(34.05, 63.34, 330.87°)
OKLaboklab(45.53% 0.1586 -0.0849)
OKLCHoklch(45.53% 0.18 331.8)
XYZxyz(15.1410, 8.0305, 21.8674)
Luminance0.0803 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1E82 #1E8B27
analogous
#5D1E8B #8B1E82 #8B1E4B
triadic
#8B1E82 #828B1E #1E828B
tetradic
#8B1E82 #8B5D1E #1E8B27 #1E4B8B
square
#8B1E82 #8B5D1E #1E8B27 #1E4B8B
split-complementary
#8B1E82 #4B8B1E #1E8B5D
monochromatic
#260824 #591353 #8B1E82 #BD29B1 #D84BCD

Accessibility & contrast

On white

8.06
#8B1E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8B1E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1E82
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1E82#FFFFFF#000000##FFFFFF
##8B1E821.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154685
Deuteranopia (green-blind)
#42557F
Tritanopia (blue-blind)
#912C4F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b1e82;
/* rgb */ color: rgb(139, 30, 130);
/* oklch */ color: oklch(45.5% 0.180 331.8);
Tailwind
colors: {
  custom: {
    50: '#b067a7',
    500: '#8b1e82',
    950: '#000000',
  },
}
SCSS
$custom: #8b1e82;
$custom-light: #b067a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1e82",
  "rgb": {
    "r": 139,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 304.954,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45531,
    "c": 0.17988,
    "h": 331.8
  },
  "luminance": 0.08029
}

Semantic roles & 50–950 ramp

primary
#8B1E82
secondary
#4ABB53
accent
#E74E40
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B1E82

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

Preview Lab → · Contrast checker → · Palette generator →

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