#8B2AB5#8B2AB5

#8B2AB5 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.9% C 0.210 H 313.1°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#8B2AB5
RGBrgb(139, 42, 181)
HSLhsl(282, 62%, 44%)
HSVhsv(282, 77%, 71%)
CMYKcmyk(23.2%, 76.8%, 0%, 29%)
CIE-LABlab(38.69, 60.72, -54.33)
CIE-LCHlch(38.69, 81.48, 318.18°)
OKLaboklab(49.87% 0.1436 -0.1536)
OKLCHoklch(49.87% 0.21 313.1)
XYZxyz(19.8144, 10.4817, 44.6865)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2AB5 #54B52A
analogous
#462AB5 #8B2AB5 #B52A99
triadic
#8B2AB5 #B58B2A #2AB58B
tetradic
#8B2AB5 #B5462A #54B52A #2A99B5
square
#8B2AB5 #B5462A #54B52A #2A99B5
split-complementary
#8B2AB5 #99B52A #2AB546
monochromatic
#3F1352 #651E83 #8B2AB5 #AA48D4 #C179E0

Accessibility & contrast

On white

6.78
#8B2AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8B2AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2AB5
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2AB5#FFFFFF#000000##FFFFFF
##8B2AB51.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#185DB2
Tritanopia (blue-blind)
#864B6F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8b2ab5;
/* rgb */ color: rgb(139, 42, 181);
/* oklch */ color: oklch(49.9% 0.210 313.1);
Tailwind
colors: {
  custom: {
    50: '#b16ecc',
    500: '#8b2ab5',
    950: '#000000',
  },
}
SCSS
$custom: #8b2ab5;
$custom-light: #b16ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2ab5",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 281.871,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49872,
    "c": 0.21027,
    "h": 313.1
  },
  "luminance": 0.10481
}

Semantic roles & 50–950 ramp

primary
#8B2AB5
secondary
#8DC873
accent
#E54274
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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