#8B2BAE#8B2BAE

#8B2BAE is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.5% C 0.203 H 315.1°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8B2BAE
RGBrgb(139, 43, 174)
HSLhsl(284, 60%, 43%)
HSVhsv(284, 75%, 68%)
CMYKcmyk(20.1%, 75.3%, 0%, 31.8%)
CIE-LABlab(38.33, 58.95, -50.77)
CIE-LCHlch(38.33, 77.79, 319.26°)
OKLaboklab(49.46% 0.1438 -0.1432)
OKLCHoklch(49.46% 0.203 315.1)
XYZxyz(19.1501, 10.2734, 41.0104)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2BAE #4EAE2B
analogous
#492BAE #8B2BAE #AE2B90
triadic
#8B2BAE #AE8B2B #2BAE8B
tetradic
#8B2BAE #AE492B #4EAE2B #2B90AE
square
#8B2BAE #AE492B #4EAE2B #2B90AE
split-complementary
#8B2BAE #90AE2B #2BAE49
monochromatic
#3D134C #641F7D #8B2BAE #AC45D1 #C276DD

Accessibility & contrast

On white

6.87
#8B2BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8B2BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2BAE
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2BAE#FFFFFF#000000##FFFFFF
##8B2BAE1.006.873.056.87
#FFFFFF6.871.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#265DAB
Tritanopia (blue-blind)
#88486B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8b2bae;
/* rgb */ color: rgb(139, 43, 174);
/* oklch */ color: oklch(49.5% 0.203 315.1);
Tailwind
colors: {
  custom: {
    50: '#b16fc7',
    500: '#8b2bae',
    950: '#000000',
  },
}
SCSS
$custom: #8b2bae;
$custom-light: #b16fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2bae",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 283.969,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49459,
    "c": 0.20291,
    "h": 315.1
  },
  "luminance": 0.10273
}

Semantic roles & 50–950 ramp

primary
#8B2BAE
secondary
#87C570
accent
#E4446F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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