#8A2082#8A2082

#8A2082 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.177 H 331.4°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#8A2082
RGBrgb(138, 32, 130)
HSLhsl(305, 62%, 33%)
HSVhsv(305, 77%, 54%)
CMYKcmyk(0%, 76.8%, 5.8%, 45.9%)
CIE-LABlab(34.09, 54.48, -30.79)
CIE-LCHlch(34.09, 62.58, 330.53°)
OKLaboklab(45.53% 0.1557 -0.0848)
OKLCHoklch(45.53% 0.177 331.4)
XYZxyz(15.0270, 8.0492, 21.8770)
Luminance0.0805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2082 #208A28
analogous
#5D208A #8A2082 #8A204D
triadic
#8A2082 #828A20 #20828A
tetradic
#8A2082 #8A5D20 #208A28 #204D8A
square
#8A2082 #8A5D20 #208A28 #204D8A
split-complementary
#8A2082 #4D8A20 #208A5D
monochromatic
#270924 #581453 #8A2082 #BC2CB1 #D64ECC

Accessibility & contrast

On white

8.05
#8A2082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8A2082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2082
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2082#FFFFFF#000000##FFFFFF
##8A20821.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164785
Deuteranopia (green-blind)
#42557F
Tritanopia (blue-blind)
#902D4F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2082;
/* rgb */ color: rgb(138, 32, 130);
/* oklch */ color: oklch(45.5% 0.177 331.4);
Tailwind
colors: {
  custom: {
    50: '#b068a7',
    500: '#8a2082',
    950: '#000000',
  },
}
SCSS
$custom: #8a2082;
$custom-light: #b068a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2082",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 304.528,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45525,
    "c": 0.17731,
    "h": 331.4
  },
  "luminance": 0.08048
}

Semantic roles & 50–950 ramp

primary
#8A2082
secondary
#4DB955
accent
#E54F42
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A2082

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

Preview Lab → · Contrast checker → · Palette generator →

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