#8A2D86#8A2D86

#8A2D86 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.0% C 0.165 H 329.6°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8A2D86
RGBrgb(138, 45, 134)
HSLhsl(303, 51%, 36%)
HSVhsv(303, 67%, 54%)
CMYKcmyk(0%, 67.4%, 2.9%, 45.9%)
CIE-LABlab(35.99, 50.38, -30.26)
CIE-LCHlch(35.99, 58.77, 329.01°)
OKLaboklab(46.97% 0.1422 -0.0834)
OKLCHoklch(46.97% 0.165 329.6)
XYZxyz(15.7226, 9.0024, 23.4592)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D86 #2D8A31
analogous
#5F2D8A #8A2D86 #8A2D57
triadic
#8A2D86 #868A2D #2D868A
tetradic
#8A2D86 #8A5F2D #2D8A31 #2D578A
square
#8A2D86 #8A5F2D #2D8A31 #2D578A
split-complementary
#8A2D86 #578A2D #2D8A5F
monochromatic
#2E0F2C #5C1E59 #8A2D86 #B83CB3 #CD65C8

Accessibility & contrast

On white

7.50
#8A2D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8A2D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2D86
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2D86#FFFFFF#000000##FFFFFF
##8A2D861.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244D89
Deuteranopia (green-blind)
#465984
Tritanopia (blue-blind)
#8F3855
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a2d86;
/* rgb */ color: rgb(138, 45, 134);
/* oklch */ color: oklch(47.0% 0.165 329.6);
Tailwind
colors: {
  custom: {
    50: '#af6ea9',
    500: '#8a2d86',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d86;
$custom-light: #af6ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d86",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 302.581,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46966,
    "c": 0.16483,
    "h": 329.6
  },
  "luminance": 0.09001
}

Semantic roles & 50–950 ramp

primary
#8A2D86
secondary
#60B363
accent
#DA544D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A2D86

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

Preview Lab → · Contrast checker → · Palette generator →

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