#8A2482#8A2482

#8A2482 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.9% C 0.173 H 331.4°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#8A2482
RGBrgb(138, 36, 130)
HSLhsl(305, 59%, 34%)
HSVhsv(305, 74%, 54%)
CMYKcmyk(0%, 73.9%, 5.8%, 45.9%)
CIE-LABlab(34.56, 53.14, -30.04)
CIE-LCHlch(34.56, 61.04, 330.52°)
OKLaboklab(45.86% 0.1518 -0.0827)
OKLCHoklch(45.86% 0.173 331.4)
XYZxyz(15.1414, 8.2779, 21.9151)
Luminance0.0828 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2482 #248A2C
analogous
#5F248A #8A2482 #8A244F
triadic
#8A2482 #828A24 #24828A
tetradic
#8A2482 #8A5F24 #248A2C #244F8A
square
#8A2482 #8A5F24 #248A2C #244F8A
split-complementary
#8A2482 #4F8A24 #248A5F
monochromatic
#290B27 #591754 #8A2482 #BB31B0 #D356C9

Accessibility & contrast

On white

7.91
#8A2482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8A2482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2482
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2482#FFFFFF#000000##FFFFFF
##8A24821.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4885
Deuteranopia (green-blind)
#44567F
Tritanopia (blue-blind)
#903050
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2482;
/* rgb */ color: rgb(138, 36, 130);
/* oklch */ color: oklch(45.9% 0.173 331.4);
Tailwind
colors: {
  custom: {
    50: '#af6aa6',
    500: '#8a2482',
    950: '#000000',
  },
}
SCSS
$custom: #8a2482;
$custom-light: #af6aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2482",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 130
  },
  "hsl": {
    "h": 304.706,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45862,
    "c": 0.17289,
    "h": 331.4
  },
  "luminance": 0.08277
}

Semantic roles & 50–950 ramp

primary
#8A2482
secondary
#53B75B
accent
#E25246
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A2482

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

Preview Lab → · Contrast checker → · Palette generator →

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