#8B2AAB#8B2AAB

#8B2AAB is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.2% C 0.201 H 316.1°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8B2AAB
RGBrgb(139, 42, 171)
HSLhsl(285, 61%, 42%)
HSVhsv(285, 75%, 67%)
CMYKcmyk(18.7%, 75.4%, 0%, 32.9%)
CIE-LABlab(38.00, 58.71, -49.51)
CIE-LCHlch(38.00, 76.80, 319.86°)
OKLaboklab(49.16% 0.1451 -0.1395)
OKLCHoklch(49.16% 0.201 316.1)
XYZxyz(18.8250, 10.0859, 39.4753)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2AAB #4AAB2A
analogous
#4B2AAB #8B2AAB #AB2A8B
triadic
#8B2AAB #AB8B2A #2AAB8B
tetradic
#8B2AAB #AB4B2A #4AAB2A #2A8BAB
square
#8B2AAB #AB4B2A #4AAB2A #2A8BAB
split-complementary
#8B2AAB #8BAB2A #2AAB4B
monochromatic
#3B1249 #631E7A #8B2AAB #AD42D1 #C273DD

Accessibility & contrast

On white

6.96
#8B2AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8B2AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2AAB
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2AAB#FFFFFF#000000##FFFFFF
##8B2AAB1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#295CA8
Tritanopia (blue-blind)
#894669
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b2aab;
/* rgb */ color: rgb(139, 42, 171);
/* oklch */ color: oklch(49.2% 0.201 316.1);
Tailwind
colors: {
  custom: {
    50: '#b16ec5',
    500: '#8b2aab',
    950: '#000000',
  },
}
SCSS
$custom: #8b2aab;
$custom-light: #b16ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2aab",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 285.116,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49159,
    "c": 0.2013,
    "h": 316.1
  },
  "luminance": 0.10085
}

Semantic roles & 50–950 ramp

primary
#8B2AAB
secondary
#82C46D
accent
#E4446C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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