#8B1FA0#8B1FA0

#8B1FA0 is a mid, highly saturated purple. Relative luminance 0.090; OKLCH L 47.5% C 0.203 H 320.3°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8B1FA0
RGBrgb(139, 31, 160)
HSLhsl(290, 68%, 37%)
HSVhsv(290, 81%, 63%)
CMYKcmyk(13.1%, 80.6%, 0%, 37.3%)
CIE-LABlab(36.00, 60.21, -46.12)
CIE-LCHlch(36.00, 75.85, 322.55°)
OKLaboklab(47.51% 0.156 -0.1295)
OKLCHoklch(47.51% 0.203 320.3)
XYZxyz(17.4818, 9.0079, 34.0688)
Luminance0.0901 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1FA0 #34A01F
analogous
#4B1FA0 #8B1FA0 #A01F74
triadic
#8B1FA0 #A08B1F #1FA08B
tetradic
#8B1FA0 #A04B1F #34A01F #1F74A0
square
#8B1FA0 #A04B1F #34A01F #1F74A0
split-complementary
#8B1FA0 #74A01F #1FA04B
monochromatic
#320B39 #5E156D #8B1FA0 #B829D3 #C95ADF

Accessibility & contrast

On white

7.50
#8B1FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8B1FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1FA0
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1FA0#FFFFFF#000000##FFFFFF
##8B1FA01.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#2D589D
Tritanopia (blue-blind)
#8C3B60
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b1fa0;
/* rgb */ color: rgb(139, 31, 160);
/* oklch */ color: oklch(47.5% 0.203 320.3);
Tailwind
colors: {
  custom: {
    50: '#b169bd',
    500: '#8b1fa0',
    950: '#000000',
  },
}
SCSS
$custom: #8b1fa0;
$custom-light: #b169bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1fa0",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 290.233,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47511,
    "c": 0.20272,
    "h": 320.3
  },
  "luminance": 0.09007
}

Semantic roles & 50–950 ramp

primary
#8B1FA0
secondary
#69C358
accent
#EA3D5A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B1FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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