#8B1FB2#8B1FB2

#8B1FB2 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.8% C 0.218 H 314.6°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8B1FB2
RGBrgb(139, 31, 178)
HSLhsl(284, 70%, 41%)
HSVhsv(284, 83%, 70%)
CMYKcmyk(21.9%, 82.6%, 0%, 30.2%)
CIE-LABlab(37.27, 63.62, -54.86)
CIE-LCHlch(37.27, 84.01, 319.23°)
OKLaboklab(48.8% 0.1528 -0.1551)
OKLCHoklch(48.8% 0.218 314.6)
XYZxyz(19.1720, 9.6840, 42.9701)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1FB2 #46B21F
analogous
#421FB2 #8B1FB2 #B21F8F
triadic
#8B1FB2 #B28B1F #1FB28B
tetradic
#8B1FB2 #B2421F #46B21F #1F8FB2
square
#8B1FB2 #B2421F #46B21F #1F8FB2
split-complementary
#8B1FB2 #8FB21F #1FB242
monochromatic
#3A0D4A #62167E #8B1FB2 #AF33DB #C367E5

Accessibility & contrast

On white

7.15
#8B1FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8B1FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1FB2
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1FB2#FFFFFF#000000##FFFFFF
##8B1FB21.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#105AAF
Tritanopia (blue-blind)
#87446B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b1fb2;
/* rgb */ color: rgb(139, 31, 178);
/* oklch */ color: oklch(48.8% 0.218 314.6);
Tailwind
colors: {
  custom: {
    50: '#b26aca',
    500: '#8b1fb2',
    950: '#000000',
  },
}
SCSS
$custom: #8b1fb2;
$custom-light: #b26aca;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1fb2",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 178
  },
  "hsl": {
    "h": 284.082,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48804,
    "c": 0.21772,
    "h": 314.6
  },
  "luminance": 0.09683
}

Semantic roles & 50–950 ramp

primary
#8B1FB2
secondary
#7ECA63
accent
#ED3B6A
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8B1FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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