#8A2589#8A2589

#8A2589 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.177 H 328.4°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#8A2589
RGBrgb(138, 37, 137)
HSLhsl(301, 58%, 34%)
HSVhsv(301, 73%, 54%)
CMYKcmyk(0%, 73.2%, 0.7%, 45.9%)
CIE-LABlab(35.07, 53.96, -33.57)
CIE-LCHlch(35.07, 63.55, 328.12°)
OKLaboklab(46.36% 0.151 -0.0929)
OKLCHoklch(46.36% 0.177 328.4)
XYZxyz(15.6580, 8.5337, 24.4845)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2589 #258A26
analogous
#59258A #8A2589 #8A2557
triadic
#8A2589 #898A25 #25898A
tetradic
#8A2589 #8A5925 #258A26 #25578A
square
#8A2589 #8A5925 #258A26 #25578A
split-complementary
#8A2589 #578A25 #258A59
monochromatic
#290B29 #5A1859 #8A2589 #BA32B9 #D257D1

Accessibility & contrast

On white

7.76
#8A2589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8A2589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2589
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2589#FFFFFF#000000##FFFFFF
##8A25891.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144A8C
Deuteranopia (green-blind)
#415786
Tritanopia (blue-blind)
#8F3455
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2589;
/* rgb */ color: rgb(138, 37, 137);
/* oklch */ color: oklch(46.4% 0.177 328.4);
Tailwind
colors: {
  custom: {
    50: '#af6aac',
    500: '#8a2589',
    950: '#000000',
  },
}
SCSS
$custom: #8a2589;
$custom-light: #af6aac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2589",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 137
  },
  "hsl": {
    "h": 300.594,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46359,
    "c": 0.1773,
    "h": 328.4
  },
  "luminance": 0.08533
}

Semantic roles & 50–950 ramp

primary
#8A2589
secondary
#54B755
accent
#E14847
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2589

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

Preview Lab → · Contrast checker → · Palette generator →

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