#8A2591#8A2591

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

Color values

HEX#8A2591
RGBrgb(138, 37, 145)
HSLhsl(296, 59%, 36%)
HSVhsv(296, 74%, 57%)
CMYKcmyk(4.8%, 74.5%, 0%, 43.1%)
CIE-LABlab(35.54, 55.37, -37.74)
CIE-LCHlch(35.54, 67.01, 325.72°)
OKLaboklab(46.85% 0.1509 -0.105)
OKLCHoklch(46.85% 0.184 325.2)
XYZxyz(16.2533, 8.7718, 27.6196)
Luminance0.0877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2591 #2C9125
analogous
#542591 #8A2591 #912562
triadic
#8A2591 #918A25 #25918A
tetradic
#8A2591 #915425 #2C9125 #256291
square
#8A2591 #915425 #2C9125 #256291
split-complementary
#8A2591 #629125 #259154
monochromatic
#2D0C2F #5C1960 #8A2591 #B831C2 #CD5BD5

Accessibility & contrast

On white

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

On black

2.75
#8A2591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8A2591#FFFFFF#000000##FFFFFF
##8A25911.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014C94
Deuteranopia (green-blind)
#3C588E
Tritanopia (blue-blind)
#8D3859
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a2591;
/* rgb */ color: rgb(138, 37, 145);
/* oklch */ color: oklch(46.8% 0.184 325.2);
Tailwind
colors: {
  custom: {
    50: '#b06bb2',
    500: '#8a2591',
    950: '#000000',
  },
}
SCSS
$custom: #8a2591;
$custom-light: #b06bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2591",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 296.111,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46847,
    "c": 0.18387,
    "h": 325.2
  },
  "luminance": 0.08771
}

Semantic roles & 50–950 ramp

primary
#8A2591
secondary
#5EBA58
accent
#E3454F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A2591

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

Preview Lab → · Contrast checker → · Palette generator →

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