#8B2EB0#8B2EB0

#8B2EB0 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 49.9% C 0.201 H 314.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8B2EB0
RGBrgb(139, 46, 176)
HSLhsl(283, 59%, 44%)
HSVhsv(283, 74%, 69%)
CMYKcmyk(21%, 73.9%, 0%, 31%)
CIE-LABlab(38.86, 58.22, -51.10)
CIE-LCHlch(38.86, 77.46, 318.73°)
OKLaboklab(49.88% 0.1407 -0.1442)
OKLCHoklch(49.88% 0.201 314.3)
XYZxyz(19.4596, 10.5782, 42.0826)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2EB0 #53B02E
analogous
#4A2EB0 #8B2EB0 #B02E94
triadic
#8B2EB0 #B08B2E #2EB08B
tetradic
#8B2EB0 #B04A2E #53B02E #2E94B0
square
#8B2EB0 #B04A2E #53B02E #2E94B0
split-complementary
#8B2EB0 #94B02E #2EB04A
monochromatic
#3E154F #65217F #8B2EB0 #AA4BD0 #C17CDD

Accessibility & contrast

On white

6.74
#8B2EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8B2EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2EB0
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2EB0#FFFFFF#000000##FFFFFF
##8B2EB01.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#265EAD
Tritanopia (blue-blind)
#884A6D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8b2eb0;
/* rgb */ color: rgb(139, 46, 176);
/* oklch */ color: oklch(49.9% 0.201 314.3);
Tailwind
colors: {
  custom: {
    50: '#b170c8',
    500: '#8b2eb0',
    950: '#000000',
  },
}
SCSS
$custom: #8b2eb0;
$custom-light: #b170c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2eb0",
  "rgb": {
    "r": 139,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 282.923,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4988,
    "c": 0.20143,
    "h": 314.3
  },
  "luminance": 0.10578
}

Semantic roles & 50–950 ramp

primary
#8B2EB0
secondary
#8CC575
accent
#E24672
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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