#8B3EAD#8B3EAD

#8B3EAD is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.4% C 0.178 H 313.9°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8B3EAD
RGBrgb(139, 62, 173)
HSLhsl(282, 47%, 46%)
HSVhsv(282, 64%, 68%)
CMYKcmyk(19.7%, 64.2%, 0%, 32.2%)
CIE-LABlab(41.14, 50.66, -45.65)
CIE-LCHlch(41.14, 68.20, 317.98°)
OKLaboklab(51.45% 0.1235 -0.1283)
OKLCHoklch(51.45% 0.178 313.9)
XYZxyz(19.9116, 11.9520, 40.7851)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3EAD #60AD3E
analogous
#533EAD #8B3EAD #AD3E97
triadic
#8B3EAD #AD8B3E #3EAD8B
tetradic
#8B3EAD #AD533E #60AD3E #3E97AD
square
#8B3EAD #AD533E #60AD3E #3E97AD
split-complementary
#8B3EAD #97AD3E #3EAD53
monochromatic
#431E53 #672E80 #8B3EAD #A862C7 #C18FD7

Accessibility & contrast

On white

6.19
#8B3EAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8B3EAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3EAD
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3EAD#FFFFFF#000000##FFFFFF
##8B3EAD1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5DB0
Deuteranopia (green-blind)
#3963AA
Tritanopia (blue-blind)
#885370
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b3ead;
/* rgb */ color: rgb(139, 62, 173);
/* oklch */ color: oklch(51.4% 0.178 313.9);
Tailwind
colors: {
  custom: {
    50: '#b078c6',
    500: '#8b3ead',
    950: '#000000',
  },
}
SCSS
$custom: #8b3ead;
$custom-light: #b078c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3ead",
  "rgb": {
    "r": 139,
    "g": 62,
    "b": 173
  },
  "hsl": {
    "h": 281.622,
    "s": 47.234,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51449,
    "c": 0.17806,
    "h": 313.9
  },
  "luminance": 0.11951
}

Semantic roles & 50–950 ramp

primary
#8B3EAD
secondary
#98C285
accent
#D7517A
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8B3EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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