#8A2584#8A2584

#8A2584 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.1% C 0.173 H 330.5°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8A2584
RGBrgb(138, 37, 132)
HSLhsl(304, 58%, 34%)
HSVhsv(304, 73%, 54%)
CMYKcmyk(0%, 73.2%, 4.3%, 45.9%)
CIE-LABlab(34.79, 53.12, -30.92)
CIE-LCHlch(34.79, 61.46, 329.80°)
OKLaboklab(46.07% 0.1509 -0.0852)
OKLCHoklch(46.07% 0.173 330.5)
XYZxyz(15.3076, 8.3935, 22.6392)
Luminance0.0839 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2584 #258A2B
analogous
#5E258A #8A2584 #8A2552
triadic
#8A2584 #848A25 #25848A
tetradic
#8A2584 #8A5E25 #258A2B #25528A
square
#8A2584 #8A5E25 #258A2B #25528A
split-complementary
#8A2584 #528A25 #258A5E
monochromatic
#290B28 #5A1856 #8A2584 #BA32B2 #D257CB

Accessibility & contrast

On white

7.84
#8A2584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8A2584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2584
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2584#FFFFFF#000000##FFFFFF
##8A25841.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4987
Deuteranopia (green-blind)
#435781
Tritanopia (blue-blind)
#8F3252
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2584;
/* rgb */ color: rgb(138, 37, 132);
/* oklch */ color: oklch(46.1% 0.173 330.5);
Tailwind
colors: {
  custom: {
    50: '#af6aa8',
    500: '#8a2584',
    950: '#000000',
  },
}
SCSS
$custom: #8a2584;
$custom-light: #af6aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2584",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 132
  },
  "hsl": {
    "h": 303.564,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46066,
    "c": 0.17329,
    "h": 330.5
  },
  "luminance": 0.08392
}

Semantic roles & 50–950 ramp

primary
#8A2584
secondary
#54B75A
accent
#E15047
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A2584

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

Preview Lab → · Contrast checker → · Palette generator →

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