#8B2AAD#8B2AAD

#8B2AAD is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.3% C 0.203 H 315.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8B2AAD
RGBrgb(139, 42, 173)
HSLhsl(284, 61%, 42%)
HSVhsv(284, 76%, 68%)
CMYKcmyk(19.7%, 75.7%, 0%, 32.2%)
CIE-LABlab(38.13, 59.11, -50.49)
CIE-LCHlch(38.13, 77.73, 319.50°)
OKLaboklab(49.3% 0.1448 -0.1423)
OKLCHoklch(49.3% 0.203 315.5)
XYZxyz(19.0170, 10.1628, 40.4869)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2AAD #4CAD2A
analogous
#492AAD #8B2AAD #AD2A8E
triadic
#8B2AAD #AD8B2A #2AAD8B
tetradic
#8B2AAD #AD492A #4CAD2A #2A8EAD
square
#8B2AAD #AD492A #4CAD2A #2A8EAD
split-complementary
#8B2AAD #8EAD2A #2AAD49
monochromatic
#3C124B #631E7C #8B2AAD #AC43D1 #C274DD

Accessibility & contrast

On white

6.93
#8B2AAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8B2AAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2AAD
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2AAD#FFFFFF#000000##FFFFFF
##8B2AAD1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B1
Deuteranopia (green-blind)
#265CAA
Tritanopia (blue-blind)
#88476A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8b2aad;
/* rgb */ color: rgb(139, 42, 173);
/* oklch */ color: oklch(49.3% 0.203 315.5);
Tailwind
colors: {
  custom: {
    50: '#b16ec6',
    500: '#8b2aad',
    950: '#000000',
  },
}
SCSS
$custom: #8b2aad;
$custom-light: #b16ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2aad",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 173
  },
  "hsl": {
    "h": 284.427,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49299,
    "c": 0.20308,
    "h": 315.5
  },
  "luminance": 0.10162
}

Semantic roles & 50–950 ramp

primary
#8B2AAD
secondary
#85C56E
accent
#E4446D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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