#8A2A84#8A2A84

#8A2A84 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.5% C 0.167 H 330.5°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#8A2A84
RGBrgb(138, 42, 132)
HSLhsl(304, 53%, 35%)
HSVhsv(304, 70%, 54%)
CMYKcmyk(0%, 69.6%, 4.3%, 45.9%)
CIE-LABlab(35.45, 51.24, -29.87)
CIE-LCHlch(35.45, 59.31, 329.76°)
OKLaboklab(46.54% 0.1455 -0.0822)
OKLCHoklch(46.54% 0.167 330.5)
XYZxyz(15.4740, 8.7263, 22.6947)
Luminance0.0872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2A84 #2A8A30
analogous
#602A8A #8A2A84 #8A2A54
triadic
#8A2A84 #848A2A #2A848A
tetradic
#8A2A84 #8A602A #2A8A30 #2A548A
square
#8A2A84 #8A602A #2A8A30 #2A548A
split-complementary
#8A2A84 #548A2A #2A8A60
monochromatic
#2C0D2A #5B1C57 #8A2A84 #B938B1 #CF60C8

Accessibility & contrast

On white

7.65
#8A2A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8A2A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2A84
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2A84#FFFFFF#000000##FFFFFF
##8A2A841.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224B87
Deuteranopia (green-blind)
#465882
Tritanopia (blue-blind)
#8F3553
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2a84;
/* rgb */ color: rgb(138, 42, 132);
/* oklch */ color: oklch(46.5% 0.167 330.5);
Tailwind
colors: {
  custom: {
    50: '#af6ca8',
    500: '#8a2a84',
    950: '#000000',
  },
}
SCSS
$custom: #8a2a84;
$custom-light: #af6ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2a84",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 303.75,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46543,
    "c": 0.16713,
    "h": 330.5
  },
  "luminance": 0.08725
}

Semantic roles & 50–950 ramp

primary
#8A2A84
secondary
#5BB461
accent
#DD544B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A2A84

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

Preview Lab → · Contrast checker → · Palette generator →

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