#8B2AA9#8B2AA9

#8B2AA9 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.0% C 0.200 H 316.8°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8B2AA9
RGBrgb(139, 42, 169)
HSLhsl(286, 60%, 41%)
HSVhsv(286, 75%, 66%)
CMYKcmyk(17.8%, 75.1%, 0%, 33.7%)
CIE-LABlab(37.86, 58.32, -48.54)
CIE-LCHlch(37.86, 75.87, 320.23°)
OKLaboklab(49.02% 0.1454 -0.1366)
OKLCHoklch(49.02% 0.2 316.8)
XYZxyz(18.6358, 10.0102, 38.4789)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2AA9 #48A92A
analogous
#4C2AA9 #8B2AA9 #A92A88
triadic
#8B2AA9 #A98B2A #2AA98B
tetradic
#8B2AA9 #A94C2A #48A92A #2A88A9
square
#8B2AA9 #A94C2A #48A92A #2A88A9
split-complementary
#8B2AA9 #88A92A #2AA94C
monochromatic
#3A1247 #631E78 #8B2AA9 #AE41D0 #C372DC

Accessibility & contrast

On white

7.00
#8B2AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8B2AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2AA9
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2AA9#FFFFFF#000000##FFFFFF
##8B2AA91.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#2B5CA6
Tritanopia (blue-blind)
#894568
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b2aa9;
/* rgb */ color: rgb(139, 42, 169);
/* oklch */ color: oklch(49.0% 0.200 316.8);
Tailwind
colors: {
  custom: {
    50: '#b16ec3',
    500: '#8b2aa9',
    950: '#000000',
  },
}
SCSS
$custom: #8b2aa9;
$custom-light: #b16ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2aa9",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 285.827,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4902,
    "c": 0.19951,
    "h": 316.8
  },
  "luminance": 0.10009
}

Semantic roles & 50–950 ramp

primary
#8B2AA9
secondary
#80C36C
accent
#E3446A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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