#8A2084#8A2084

#8A2084 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.6% C 0.179 H 330.6°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#8A2084
RGBrgb(138, 32, 132)
HSLhsl(303, 62%, 33%)
HSVhsv(303, 77%, 54%)
CMYKcmyk(0%, 76.8%, 4.3%, 45.9%)
CIE-LABlab(34.20, 54.81, -31.85)
CIE-LCHlch(34.20, 63.39, 329.83°)
OKLaboklab(45.64% 0.1558 -0.0879)
OKLCHoklch(45.64% 0.179 330.6)
XYZxyz(15.1626, 8.1034, 22.5909)
Luminance0.0810 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2084 #208A26
analogous
#5B208A #8A2084 #8A204F
triadic
#8A2084 #848A20 #20848A
tetradic
#8A2084 #8A5B20 #208A26 #204F8A
square
#8A2084 #8A5B20 #208A26 #204F8A
split-complementary
#8A2084 #4F8A20 #208A5B
monochromatic
#270925 #581454 #8A2084 #BC2CB4 #D64ECE

Accessibility & contrast

On white

8.01
#8A2084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8A2084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2084
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2084#FFFFFF#000000##FFFFFF
##8A20841.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134787
Deuteranopia (green-blind)
#415581
Tritanopia (blue-blind)
#8F2E51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2084;
/* rgb */ color: rgb(138, 32, 132);
/* oklch */ color: oklch(45.6% 0.179 330.6);
Tailwind
colors: {
  custom: {
    50: '#b068a8',
    500: '#8a2084',
    950: '#000000',
  },
}
SCSS
$custom: #8a2084;
$custom-light: #b068a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2084",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 303.396,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45641,
    "c": 0.17885,
    "h": 330.6
  },
  "luminance": 0.08102
}

Semantic roles & 50–950 ramp

primary
#8A2084
secondary
#4DB953
accent
#E54C42
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A2084

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

Preview Lab → · Contrast checker → · Palette generator →

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