#8A2A86#8A2A86

#8A2A86 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.7% C 0.169 H 329.6°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#8A2A86
RGBrgb(138, 42, 134)
HSLhsl(303, 53%, 35%)
HSVhsv(303, 70%, 54%)
CMYKcmyk(0%, 69.6%, 2.9%, 45.9%)
CIE-LABlab(35.56, 51.59, -30.94)
CIE-LCHlch(35.56, 60.15, 329.05°)
OKLaboklab(46.66% 0.1456 -0.0853)
OKLCHoklch(46.66% 0.169 329.6)
XYZxyz(15.6122, 8.7816, 23.4224)
Luminance0.0878 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2A86 #2A8A2E
analogous
#5E2A8A #8A2A86 #8A2A56
triadic
#8A2A86 #868A2A #2A868A
tetradic
#8A2A86 #8A5E2A #2A8A2E #2A568A
square
#8A2A86 #8A5E2A #2A8A2E #2A568A
split-complementary
#8A2A86 #568A2A #2A8A5E
monochromatic
#2C0D2B #5B1C58 #8A2A86 #B938B4 #CF60CA

Accessibility & contrast

On white

7.62
#8A2A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8A2A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2A86
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2A86#FFFFFF#000000##FFFFFF
##8A2A861.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204B89
Deuteranopia (green-blind)
#455884
Tritanopia (blue-blind)
#8F3654
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a2a86;
/* rgb */ color: rgb(138, 42, 134);
/* oklch */ color: oklch(46.7% 0.169 329.6);
Tailwind
colors: {
  custom: {
    50: '#af6ca9',
    500: '#8a2a86',
    950: '#000000',
  },
}
SCSS
$custom: #8a2a86;
$custom-light: #af6ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2a86",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 302.5,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46656,
    "c": 0.16878,
    "h": 329.6
  },
  "luminance": 0.0878
}

Semantic roles & 50–950 ramp

primary
#8A2A86
secondary
#5BB45F
accent
#DD514B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2A86

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

Preview Lab → · Contrast checker → · Palette generator →

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