#8B2AA4#8B2AA4

#8B2AA4 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.195 H 318.4°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#8B2AA4
RGBrgb(139, 42, 164)
HSLhsl(288, 59%, 40%)
HSVhsv(288, 74%, 64%)
CMYKcmyk(15.2%, 74.4%, 0%, 35.7%)
CIE-LABlab(37.53, 57.33, -46.08)
CIE-LCHlch(37.53, 73.55, 321.21°)
OKLaboklab(48.68% 0.146 -0.1294)
OKLCHoklch(48.68% 0.195 318.4)
XYZxyz(18.1753, 9.8261, 36.0540)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2AA4 #43A42A
analogous
#4E2AA4 #8B2AA4 #A42A80
triadic
#8B2AA4 #A48B2A #2AA48B
tetradic
#8B2AA4 #A44E2A #43A42A #2A80A4
square
#8B2AA4 #A44E2A #43A42A #2A80A4
split-complementary
#8B2AA4 #80A42A #2AA44E
monochromatic
#381143 #621E73 #8B2AA4 #B03ECD #C46EDA

Accessibility & contrast

On white

7.08
#8B2AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8B2AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2AA4
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2AA4#FFFFFF#000000##FFFFFF
##8B2AA41.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A7
Deuteranopia (green-blind)
#315BA1
Tritanopia (blue-blind)
#8A4365
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b2aa4;
/* rgb */ color: rgb(139, 42, 164);
/* oklch */ color: oklch(48.7% 0.195 318.4);
Tailwind
colors: {
  custom: {
    50: '#b16ec0',
    500: '#8b2aa4',
    950: '#000000',
  },
}
SCSS
$custom: #8b2aa4;
$custom-light: #b16ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2aa4",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 287.705,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48678,
    "c": 0.19506,
    "h": 318.4
  },
  "luminance": 0.09825
}

Semantic roles & 50–950 ramp

primary
#8B2AA4
secondary
#7BC169
accent
#E24566
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B2AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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