#8B2EB8#8B2EB8

#8B2EB8 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.5% C 0.209 H 311.9°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8B2EB8
RGBrgb(139, 46, 184)
HSLhsl(280, 60%, 45%)
HSVhsv(280, 75%, 72%)
CMYKcmyk(24.5%, 75%, 0%, 27.8%)
CIE-LABlab(39.42, 59.88, -54.93)
CIE-LCHlch(39.42, 81.25, 317.47°)
OKLaboklab(50.45% 0.1395 -0.1554)
OKLCHoklch(50.45% 0.209 311.9)
XYZxyz(20.2746, 10.9042, 46.3748)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2EB8 #5BB82E
analogous
#462EB8 #8B2EB8 #B82EA0
triadic
#8B2EB8 #B88B2E #2EB88B
tetradic
#8B2EB8 #B8462E #5BB82E #2EA0B8
square
#8B2EB8 #B8462E #5BB82E #2EA0B8
split-complementary
#8B2EB8 #A0B82E #2EB846
monochromatic
#411656 #662287 #8B2EB8 #A850D3 #C181DF

Accessibility & contrast

On white

6.60
#8B2EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8B2EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2EB8
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2EB8#FFFFFF#000000##FFFFFF
##8B2EB81.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#185FB5
Tritanopia (blue-blind)
#854E71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8b2eb8;
/* rgb */ color: rgb(139, 46, 184);
/* oklch */ color: oklch(50.5% 0.209 311.9);
Tailwind
colors: {
  custom: {
    50: '#b170ce',
    500: '#8b2eb8',
    950: '#000000',
  },
}
SCSS
$custom: #8b2eb8;
$custom-light: #b170ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2eb8",
  "rgb": {
    "r": 139,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 280.435,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50451,
    "c": 0.20883,
    "h": 311.9
  },
  "luminance": 0.10904
}

Semantic roles & 50–950 ramp

primary
#8B2EB8
secondary
#93C879
accent
#E34578
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B2EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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