#8B1F86#8B1F86

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

Color values

HEX#8B1F86
RGBrgb(139, 31, 134)
HSLhsl(303, 64%, 33%)
HSVhsv(303, 78%, 55%)
CMYKcmyk(0%, 77.7%, 3.6%, 45.5%)
CIE-LABlab(34.38, 55.67, -32.80)
CIE-LCHlch(34.38, 64.62, 329.50°)
OKLaboklab(45.84% 0.1578 -0.0906)
OKLCHoklch(45.84% 0.182 330.1)
XYZxyz(15.4405, 8.1914, 23.3175)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F86 #1F8B24
analogous
#5A1F8B #8B1F86 #8B1F50
triadic
#8B1F86 #868B1F #1F868B
tetradic
#8B1F86 #8B5A1F #1F8B24 #1F508B
square
#8B1F86 #8B5A1F #1F8B24 #1F508B
split-complementary
#8B1F86 #508B1F #1F8B5A
monochromatic
#270926 #591456 #8B1F86 #BD2AB6 #D74DD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B1F86#FFFFFF#000000##FFFFFF
##8B1F861.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)
#0F4889
Deuteranopia (green-blind)
#415683
Tritanopia (blue-blind)
#902E51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b1f86;
/* rgb */ color: rgb(139, 31, 134);
/* oklch */ color: oklch(45.8% 0.182 330.1);
Tailwind
colors: {
  custom: {
    50: '#b068a9',
    500: '#8b1f86',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f86;
$custom-light: #b068a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f86",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 302.778,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45841,
    "c": 0.18192,
    "h": 330.1
  },
  "luminance": 0.0819
}

Semantic roles & 50–950 ramp

primary
#8B1F86
secondary
#4CBA51
accent
#E74941
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B1F86

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

Preview Lab → · Contrast checker → · Palette generator →

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