#8B2EAD#8B2EAD

#8B2EAD is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.199 H 315.2°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8B2EAD
RGBrgb(139, 46, 173)
HSLhsl(284, 58%, 43%)
HSVhsv(284, 73%, 68%)
CMYKcmyk(19.7%, 73.4%, 0%, 32.2%)
CIE-LABlab(38.66, 57.61, -49.64)
CIE-LCHlch(38.66, 76.05, 319.25°)
OKLaboklab(49.67% 0.1411 -0.1399)
OKLCHoklch(49.67% 0.199 315.2)
XYZxyz(19.1661, 10.4608, 40.5366)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2EAD #50AD2E
analogous
#4B2EAD #8B2EAD #AD2E8F
triadic
#8B2EAD #AD8B2E #2EAD8B
tetradic
#8B2EAD #AD4B2E #50AD2E #2E8FAD
square
#8B2EAD #AD4B2E #50AD2E #2E8FAD
split-complementary
#8B2EAD #8FAD2E #2EAD4B
monochromatic
#3D144C #64217D #8B2EAD #AB49CF #C17ADC

Accessibility & contrast

On white

6.79
#8B2EAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8B2EAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2EAD
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2EAD#FFFFFF#000000##FFFFFF
##8B2EAD1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#2A5DAA
Tritanopia (blue-blind)
#88496B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8b2ead;
/* rgb */ color: rgb(139, 46, 173);
/* oklch */ color: oklch(49.7% 0.199 315.2);
Tailwind
colors: {
  custom: {
    50: '#b170c6',
    500: '#8b2ead',
    950: '#000000',
  },
}
SCSS
$custom: #8b2ead;
$custom-light: #b170c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2ead",
  "rgb": {
    "r": 139,
    "g": 46,
    "b": 173
  },
  "hsl": {
    "h": 283.937,
    "s": 57.991,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4967,
    "c": 0.19867,
    "h": 315.2
  },
  "luminance": 0.1046
}

Semantic roles & 50–950 ramp

primary
#8B2EAD
secondary
#89C473
accent
#E14770
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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