#8A2484#8A2484

#8A2484 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.0% C 0.174 H 330.5°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#8A2484
RGBrgb(138, 36, 132)
HSLhsl(304, 59%, 34%)
HSVhsv(304, 74%, 54%)
CMYKcmyk(0%, 73.9%, 4.3%, 45.9%)
CIE-LABlab(34.67, 53.47, -31.11)
CIE-LCHlch(34.67, 61.86, 329.81°)
OKLaboklab(45.98% 0.1519 -0.0858)
OKLCHoklch(45.98% 0.174 330.5)
XYZxyz(15.2769, 8.3322, 22.6290)
Luminance0.0833 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2484 #248A2A
analogous
#5D248A #8A2484 #8A2451
triadic
#8A2484 #848A24 #24848A
tetradic
#8A2484 #8A5D24 #248A2A #24518A
square
#8A2484 #8A5D24 #248A2A #24518A
split-complementary
#8A2484 #518A24 #248A5D
monochromatic
#290B27 #591756 #8A2484 #BB31B2 #D356CB

Accessibility & contrast

On white

7.88
#8A2484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8A2484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2484
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2484#FFFFFF#000000##FFFFFF
##8A24841.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194987
Deuteranopia (green-blind)
#435681
Tritanopia (blue-blind)
#8F3152
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2484;
/* rgb */ color: rgb(138, 36, 132);
/* oklch */ color: oklch(46.0% 0.174 330.5);
Tailwind
colors: {
  custom: {
    50: '#af6aa8',
    500: '#8a2484',
    950: '#000000',
  },
}
SCSS
$custom: #8a2484;
$custom-light: #af6aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2484",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 132
  },
  "hsl": {
    "h": 303.529,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45977,
    "c": 0.17446,
    "h": 330.5
  },
  "luminance": 0.08331
}

Semantic roles & 50–950 ramp

primary
#8A2484
secondary
#53B759
accent
#E24F46
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A2484

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

Preview Lab → · Contrast checker → · Palette generator →

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