#8B1FB4#8B1FB4

#8B1FB4 is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 49.0% C 0.219 H 314.0°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8B1FB4
RGBrgb(139, 31, 180)
HSLhsl(283, 71%, 41%)
HSVhsv(283, 83%, 71%)
CMYKcmyk(22.8%, 82.8%, 0%, 29.4%)
CIE-LABlab(37.42, 64.01, -55.80)
CIE-LCHlch(37.42, 84.92, 318.92°)
OKLaboklab(48.95% 0.1523 -0.1579)
OKLCHoklch(48.95% 0.219 314)
XYZxyz(19.3742, 9.7649, 44.0354)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1FB4 #48B41F
analogous
#411FB4 #8B1FB4 #B41F93
triadic
#8B1FB4 #B48B1F #1FB48B
tetradic
#8B1FB4 #B4411F #48B41F #1F93B4
square
#8B1FB4 #B4411F #48B41F #1F93B4
split-complementary
#8B1FB4 #93B41F #1FB441
monochromatic
#3A0D4C #631680 #8B1FB4 #AE34DC #C368E5

Accessibility & contrast

On white

7.11
#8B1FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8B1FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1FB4
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1FB4#FFFFFF#000000##FFFFFF
##8B1FB41.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#095AB1
Tritanopia (blue-blind)
#87456C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b1fb4;
/* rgb */ color: rgb(139, 31, 180);
/* oklch */ color: oklch(49.0% 0.219 314.0);
Tailwind
colors: {
  custom: {
    50: '#b26acb',
    500: '#8b1fb4',
    950: '#000000',
  },
}
SCSS
$custom: #8b1fb4;
$custom-light: #b26acb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1fb4",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 180
  },
  "hsl": {
    "h": 283.49,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48953,
    "c": 0.21941,
    "h": 314
  },
  "luminance": 0.09764
}

Semantic roles & 50–950 ramp

primary
#8B1FB4
secondary
#80CB64
accent
#ED3A6C
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8B1FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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