#8B1EB4#8B1EB4

#8B1EB4 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.9% C 0.220 H 314.0°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#8B1EB4
RGBrgb(139, 30, 180)
HSLhsl(284, 71%, 41%)
HSVhsv(284, 83%, 71%)
CMYKcmyk(22.8%, 83.3%, 0%, 29.4%)
CIE-LABlab(37.32, 64.29, -55.96)
CIE-LCHlch(37.32, 85.23, 318.96°)
OKLaboklab(48.89% 0.153 -0.1583)
OKLCHoklch(48.89% 0.22 314)
XYZxyz(19.3485, 9.7135, 44.0268)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1EB4 #47B41E
analogous
#401EB4 #8B1EB4 #B41E92
triadic
#8B1EB4 #B48B1E #1EB48B
tetradic
#8B1EB4 #B4401E #47B41E #1E92B4
square
#8B1EB4 #B4401E #47B41E #1E92B4
split-complementary
#8B1EB4 #92B41E #1EB440
monochromatic
#3A0D4B #621580 #8B1EB4 #AE32DD #C367E6

Accessibility & contrast

On white

7.14
#8B1EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1EB4
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1EB4#FFFFFF#000000##FFFFFF
##8B1EB41.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b1eb4;
/* rgb */ color: rgb(139, 30, 180);
/* oklch */ color: oklch(48.9% 0.220 314.0);
Tailwind
colors: {
  custom: {
    50: '#b26acb',
    500: '#8b1eb4',
    950: '#000000',
  },
}
SCSS
$custom: #8b1eb4;
$custom-light: #b26acb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1eb4",
  "rgb": {
    "r": 139,
    "g": 30,
    "b": 180
  },
  "hsl": {
    "h": 283.6,
    "s": 71.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48888,
    "c": 0.22019,
    "h": 314
  },
  "luminance": 0.09713
}

Semantic roles & 50–950 ramp

primary
#8B1EB4
secondary
#7FCB63
accent
#EE3A6B
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8B1EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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