#8B1FB1#8B1FB1

#8B1FB1 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.7% C 0.217 H 314.9°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8B1FB1
RGBrgb(139, 31, 177)
HSLhsl(284, 70%, 41%)
HSVhsv(284, 82%, 69%)
CMYKcmyk(21.5%, 82.5%, 0%, 30.6%)
CIE-LABlab(37.20, 63.43, -54.38)
CIE-LCHlch(37.20, 83.55, 319.39°)
OKLaboklab(48.73% 0.153 -0.1537)
OKLCHoklch(48.73% 0.217 314.9)
XYZxyz(19.0719, 9.6440, 42.4433)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1FB1 #45B11F
analogous
#421FB1 #8B1FB1 #B11F8E
triadic
#8B1FB1 #B18B1F #1FB18B
tetradic
#8B1FB1 #B1421F #45B11F #1F8EB1
square
#8B1FB1 #B1421F #45B11F #1F8EB1
split-complementary
#8B1FB1 #8EB11F #1FB142
monochromatic
#390D49 #62167D #8B1FB1 #AF32DB #C366E4

Accessibility & contrast

On white

7.17
#8B1FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8B1FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1FB1
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1FB1#FFFFFF#000000##FFFFFF
##8B1FB11.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#135AAE
Tritanopia (blue-blind)
#88446A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b1fb1;
/* rgb */ color: rgb(139, 31, 177);
/* oklch */ color: oklch(48.7% 0.217 314.9);
Tailwind
colors: {
  custom: {
    50: '#b26ac9',
    500: '#8b1fb1',
    950: '#000000',
  },
}
SCSS
$custom: #8b1fb1;
$custom-light: #b26ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1fb1",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 177
  },
  "hsl": {
    "h": 284.384,
    "s": 70.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48729,
    "c": 0.21688,
    "h": 314.9
  },
  "luminance": 0.09643
}

Semantic roles & 50–950 ramp

primary
#8B1FB1
secondary
#7DCA62
accent
#ED3B69
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8B1FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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