#8A2586#8A2586

#8A2586 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.175 H 329.7°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#8A2586
RGBrgb(138, 37, 134)
HSLhsl(302, 58%, 34%)
HSVhsv(302, 73%, 54%)
CMYKcmyk(0%, 73.2%, 2.9%, 45.9%)
CIE-LABlab(34.90, 53.45, -31.98)
CIE-LCHlch(34.90, 62.29, 329.11°)
OKLaboklab(46.18% 0.151 -0.0883)
OKLCHoklch(46.18% 0.175 329.7)
XYZxyz(15.4458, 8.4488, 23.3669)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2586 #258A29
analogous
#5C258A #8A2586 #8A2554
triadic
#8A2586 #868A25 #25868A
tetradic
#8A2586 #8A5C25 #258A29 #25548A
square
#8A2586 #8A5C25 #258A29 #25548A
split-complementary
#8A2586 #548A25 #258A5C
monochromatic
#290B28 #5A1857 #8A2586 #BA32B5 #D257CD

Accessibility & contrast

On white

7.81
#8A2586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8A2586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2586
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2586#FFFFFF#000000##FFFFFF
##8A25861.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184989
Deuteranopia (green-blind)
#425783
Tritanopia (blue-blind)
#8F3253
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2586;
/* rgb */ color: rgb(138, 37, 134);
/* oklch */ color: oklch(46.2% 0.175 329.7);
Tailwind
colors: {
  custom: {
    50: '#af6aa9',
    500: '#8a2586',
    950: '#000000',
  },
}
SCSS
$custom: #8a2586;
$custom-light: #af6aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2586",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 134
  },
  "hsl": {
    "h": 302.376,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46182,
    "c": 0.17489,
    "h": 329.7
  },
  "luminance": 0.08448
}

Semantic roles & 50–950 ramp

primary
#8A2586
secondary
#54B758
accent
#E14D47
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2586

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

Preview Lab → · Contrast checker → · Palette generator →

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