#8A2588#8A2588

#8A2588 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.3% C 0.176 H 328.8°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#8A2588
RGBrgb(138, 37, 136)
HSLhsl(301, 58%, 34%)
HSVhsv(301, 73%, 54%)
CMYKcmyk(0%, 73.2%, 1.4%, 45.9%)
CIE-LABlab(35.01, 53.79, -33.04)
CIE-LCHlch(35.01, 63.13, 328.44°)
OKLaboklab(46.3% 0.151 -0.0914)
OKLCHoklch(46.3% 0.176 328.8)
XYZxyz(15.5866, 8.5051, 24.1085)
Luminance0.0850 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2588 #258A27
analogous
#5A258A #8A2588 #8A2556
triadic
#8A2588 #888A25 #25888A
tetradic
#8A2588 #8A5A25 #258A27 #25568A
square
#8A2588 #8A5A25 #258A27 #25568A
split-complementary
#8A2588 #568A25 #258A5A
monochromatic
#290B29 #5A1858 #8A2588 #BA32B8 #D257D0

Accessibility & contrast

On white

7.78
#8A2588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8A2588 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2588
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2588#FFFFFF#000000##FFFFFF
##8A25881.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154A8B
Deuteranopia (green-blind)
#415785
Tritanopia (blue-blind)
#8F3354
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2588;
/* rgb */ color: rgb(138, 37, 136);
/* oklch */ color: oklch(46.3% 0.176 328.8);
Tailwind
colors: {
  custom: {
    50: '#af6aab',
    500: '#8a2588',
    950: '#000000',
  },
}
SCSS
$custom: #8a2588;
$custom-light: #af6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2588",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 136
  },
  "hsl": {
    "h": 301.188,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46299,
    "c": 0.17649,
    "h": 328.8
  },
  "luminance": 0.08504
}

Semantic roles & 50–950 ramp

primary
#8A2588
secondary
#54B756
accent
#E14A47
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2588

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

Preview Lab → · Contrast checker → · Palette generator →

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