#8A2086#8A2086

#8A2086 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.180 H 329.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#8A2086
RGBrgb(138, 32, 134)
HSLhsl(302, 62%, 33%)
HSVhsv(302, 77%, 54%)
CMYKcmyk(0%, 76.8%, 2.9%, 45.9%)
CIE-LABlab(34.31, 55.14, -32.92)
CIE-LCHlch(34.31, 64.21, 329.16°)
OKLaboklab(45.76% 0.1558 -0.091)
OKLCHoklch(45.76% 0.18 329.7)
XYZxyz(15.3007, 8.1587, 23.3186)
Luminance0.0816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2086 #208A24
analogous
#59208A #8A2086 #8A2051
triadic
#8A2086 #868A20 #20868A
tetradic
#8A2086 #8A5920 #208A24 #20518A
square
#8A2086 #8A5920 #208A24 #20518A
split-complementary
#8A2086 #518A20 #208A59
monochromatic
#270926 #581456 #8A2086 #BC2CB6 #D64ED1

Accessibility & contrast

On white

7.98
#8A2086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8A2086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2086
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2086#FFFFFF#000000##FFFFFF
##8A20861.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104889
Deuteranopia (green-blind)
#405683
Tritanopia (blue-blind)
#8F2F52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2086;
/* rgb */ color: rgb(138, 32, 134);
/* oklch */ color: oklch(45.8% 0.180 329.7);
Tailwind
colors: {
  custom: {
    50: '#b068a9',
    500: '#8a2086',
    950: '#000000',
  },
}
SCSS
$custom: #8a2086;
$custom-light: #b068a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2086",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 302.264,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4576,
    "c": 0.1804,
    "h": 329.7
  },
  "luminance": 0.08158
}

Semantic roles & 50–950 ramp

primary
#8A2086
secondary
#4DB951
accent
#E54942
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2086

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

Preview Lab → · Contrast checker → · Palette generator →

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