#8B2AA0#8B2AA0

#8B2AA0 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.4% C 0.192 H 319.8°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8B2AA0
RGBrgb(139, 42, 160)
HSLhsl(289, 58%, 40%)
HSVhsv(289, 74%, 63%)
CMYKcmyk(13.1%, 73.8%, 0%, 37.3%)
CIE-LABlab(37.27, 56.56, -44.08)
CIE-LCHlch(37.27, 71.71, 322.07°)
OKLaboklab(48.41% 0.1463 -0.1236)
OKLCHoklch(48.41% 0.192 319.8)
XYZxyz(17.8198, 9.6839, 34.1814)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2AA0 #3FA02A
analogous
#502AA0 #8B2AA0 #A02A7A
triadic
#8B2AA0 #A08B2A #2AA08B
tetradic
#8B2AA0 #A0502A #3FA02A #2A7AA0
square
#8B2AA0 #A0502A #3FA02A #2A7AA0
split-complementary
#8B2AA0 #7AA02A #2AA050
monochromatic
#37113F #611D70 #8B2AA0 #B23CCC #C56CD8

Accessibility & contrast

On white

7.15
#8B2AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8B2AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2AA0
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2AA0#FFFFFF#000000##FFFFFF
##8B2AA01.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#345B9D
Tritanopia (blue-blind)
#8B4163
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b2aa0;
/* rgb */ color: rgb(139, 42, 160);
/* oklch */ color: oklch(48.4% 0.192 319.8);
Tailwind
colors: {
  custom: {
    50: '#b16ebd',
    500: '#8b2aa0',
    950: '#000000',
  },
}
SCSS
$custom: #8b2aa0;
$custom-light: #b16ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2aa0",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 289.322,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4841,
    "c": 0.19152,
    "h": 319.8
  },
  "luminance": 0.09683
}

Semantic roles & 50–950 ramp

primary
#8B2AA0
secondary
#76BF67
accent
#E24662
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B2AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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