#8B1F84#8B1F84

#8B1F84 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.180 H 331.0°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#8B1F84
RGBrgb(139, 31, 132)
HSLhsl(304, 64%, 33%)
HSVhsv(304, 78%, 55%)
CMYKcmyk(0%, 77.7%, 5%, 45.5%)
CIE-LABlab(34.26, 55.35, -31.74)
CIE-LCHlch(34.26, 63.80, 330.17°)
OKLaboklab(45.72% 0.1577 -0.0875)
OKLCHoklch(45.72% 0.18 331)
XYZxyz(15.3023, 8.1361, 22.5898)
Luminance0.0814 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F84 #1F8B26
analogous
#5C1F8B #8B1F84 #8B1F4E
triadic
#8B1F84 #848B1F #1F848B
tetradic
#8B1F84 #8B5C1F #1F8B26 #1F4E8B
square
#8B1F84 #8B5C1F #1F8B26 #1F4E8B
split-complementary
#8B1F84 #4E8B1F #1F8B5C
monochromatic
#270925 #591454 #8B1F84 #BD2AB4 #D74DCE

Accessibility & contrast

On white

7.99
#8B1F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8B1F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1F84
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1F84#FFFFFF#000000##FFFFFF
##8B1F841.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134787
Deuteranopia (green-blind)
#425681
Tritanopia (blue-blind)
#912D50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b1f84;
/* rgb */ color: rgb(139, 31, 132);
/* oklch */ color: oklch(45.7% 0.180 331.0);
Tailwind
colors: {
  custom: {
    50: '#b068a8',
    500: '#8b1f84',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f84;
$custom-light: #b068a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f84",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 132
  },
  "hsl": {
    "h": 303.889,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45723,
    "c": 0.18039,
    "h": 331
  },
  "luminance": 0.08135
}

Semantic roles & 50–950 ramp

primary
#8B1F84
secondary
#4CBA53
accent
#E74C41
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B1F84

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

Preview Lab → · Contrast checker → · Palette generator →

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