#8A2480#8A2480

#8A2480 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.7% C 0.171 H 332.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#8A2480
RGBrgb(138, 36, 128)
HSLhsl(306, 59%, 34%)
HSVhsv(306, 74%, 54%)
CMYKcmyk(0%, 73.9%, 7.2%, 45.9%)
CIE-LABlab(34.45, 52.81, -28.97)
CIE-LCHlch(34.45, 60.23, 331.25°)
OKLaboklab(45.75% 0.1517 -0.0796)
OKLCHoklch(45.75% 0.171 332.3)
XYZxyz(15.0084, 8.2248, 21.2150)
Luminance0.0822 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2480 #248A2E
analogous
#61248A #8A2480 #8A244D
triadic
#8A2480 #808A24 #24808A
tetradic
#8A2480 #8A6124 #248A2E #244D8A
square
#8A2480 #8A6124 #248A2E #244D8A
split-complementary
#8A2480 #4D8A24 #248A61
monochromatic
#290B26 #591753 #8A2480 #BB31AD #D356C7

Accessibility & contrast

On white

7.94
#8A2480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8A2480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2480
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2480#FFFFFF#000000##FFFFFF
##8A24801.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4883
Deuteranopia (green-blind)
#45567E
Tritanopia (blue-blind)
#902F4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2480;
/* rgb */ color: rgb(138, 36, 128);
/* oklch */ color: oklch(45.7% 0.171 332.3);
Tailwind
colors: {
  custom: {
    50: '#af69a5',
    500: '#8a2480',
    950: '#000000',
  },
}
SCSS
$custom: #8a2480;
$custom-light: #af69a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2480",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 128
  },
  "hsl": {
    "h": 305.882,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45749,
    "c": 0.17133,
    "h": 332.3
  },
  "luminance": 0.08224
}

Semantic roles & 50–950 ramp

primary
#8A2480
secondary
#53B75D
accent
#E25546
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A2480

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

Preview Lab → · Contrast checker → · Palette generator →

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