#8A2080#8A2080

#8A2080 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.4% C 0.176 H 332.3°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#8A2080
RGBrgb(138, 32, 128)
HSLhsl(306, 62%, 33%)
HSVhsv(306, 77%, 54%)
CMYKcmyk(0%, 76.8%, 7.2%, 45.9%)
CIE-LABlab(33.97, 54.16, -29.71)
CIE-LCHlch(33.97, 61.77, 331.25°)
OKLaboklab(45.41% 0.1556 -0.0817)
OKLCHoklch(45.41% 0.176 332.3)
XYZxyz(14.8941, 7.9961, 21.1768)
Luminance0.0799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2080 #208A2A
analogous
#5F208A #8A2080 #8A204B
triadic
#8A2080 #808A20 #20808A
tetradic
#8A2080 #8A5F20 #208A2A #204B8A
square
#8A2080 #8A5F20 #208A2A #204B8A
split-complementary
#8A2080 #4B8A20 #208A5F
monochromatic
#270924 #581452 #8A2080 #BC2CAE #D64EC9

Accessibility & contrast

On white

8.08
#8A2080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8A2080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2080
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2080#FFFFFF#000000##FFFFFF
##8A20801.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194683
Deuteranopia (green-blind)
#43557D
Tritanopia (blue-blind)
#902C4E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2080;
/* rgb */ color: rgb(138, 32, 128);
/* oklch */ color: oklch(45.4% 0.176 332.3);
Tailwind
colors: {
  custom: {
    50: '#b068a5',
    500: '#8a2080',
    950: '#000000',
  },
}
SCSS
$custom: #8a2080;
$custom-light: #b068a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2080",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 305.66,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4541,
    "c": 0.17578,
    "h": 332.3
  },
  "luminance": 0.07995
}

Semantic roles & 50–950 ramp

primary
#8A2080
secondary
#4DB957
accent
#E55242
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A2080

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

Preview Lab → · Contrast checker → · Palette generator →

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