#8B1A85#8B1A85

#8B1A85 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.186 H 330.6°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#8B1A85
RGBrgb(139, 26, 133)
HSLhsl(303, 68%, 32%)
HSVhsv(303, 81%, 55%)
CMYKcmyk(0%, 81.3%, 4.3%, 45.5%)
CIE-LABlab(33.82, 56.95, -33.06)
CIE-LCHlch(33.82, 65.85, 329.86°)
OKLaboklab(45.43% 0.1619 -0.0913)
OKLCHoklch(45.43% 0.186 330.6)
XYZxyz(15.2505, 7.9225, 22.9117)
Luminance0.0792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1A85 #1A8B20
analogous
#591A8B #8B1A85 #8B1A4C
triadic
#8B1A85 #858B1A #1A858B
tetradic
#8B1A85 #8B591A #1A8B20 #1A4C8B
square
#8B1A85 #8B591A #1A8B20 #1A4C8B
split-complementary
#8B1A85 #4C8B1A #1A8B59
monochromatic
#240722 #571054 #8B1A85 #BF24B6 #DC43D4

Accessibility & contrast

On white

8.13
#8B1A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8B1A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1A85
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1A85#FFFFFF#000000##FFFFFF
##8B1A851.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074688
Deuteranopia (green-blind)
#3F5582
Tritanopia (blue-blind)
#912B50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b1a85;
/* rgb */ color: rgb(139, 26, 133);
/* oklch */ color: oklch(45.4% 0.186 330.6);
Tailwind
colors: {
  custom: {
    50: '#b166a9',
    500: '#8b1a85',
    950: '#000000',
  },
}
SCSS
$custom: #8b1a85;
$custom-light: #b166a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1a85",
  "rgb": {
    "r": 139,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 303.186,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45425,
    "c": 0.18589,
    "h": 330.6
  },
  "luminance": 0.07921
}

Semantic roles & 50–950 ramp

primary
#8B1A85
secondary
#44BD4A
accent
#EB463C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B1A85

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

Preview Lab → · Contrast checker → · Palette generator →

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