#8A2089#8A2089

#8A2089 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.183 H 328.5°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8A2089
RGBrgb(138, 32, 137)
HSLhsl(301, 62%, 33%)
HSVhsv(301, 77%, 54%)
CMYKcmyk(0%, 76.8%, 0.7%, 45.9%)
CIE-LABlab(34.49, 55.64, -34.50)
CIE-LCHlch(34.49, 65.47, 328.20°)
OKLaboklab(45.94% 0.1558 -0.0956)
OKLCHoklch(45.94% 0.183 328.5)
XYZxyz(15.5129, 8.2436, 24.4362)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2089 #208A21
analogous
#56208A #8A2089 #8A2054
triadic
#8A2089 #898A20 #20898A
tetradic
#8A2089 #8A5620 #208A21 #20548A
square
#8A2089 #8A5620 #208A21 #20548A
split-complementary
#8A2089 #548A20 #208A56
monochromatic
#270926 #581458 #8A2089 #BC2CBA #D64ED5

Accessibility & contrast

On white

7.93
#8A2089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8A2089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2089
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2089#FFFFFF#000000##FFFFFF
##8A20891.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09488C
Deuteranopia (green-blind)
#3E5686
Tritanopia (blue-blind)
#8F3153
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2089;
/* rgb */ color: rgb(138, 32, 137);
/* oklch */ color: oklch(45.9% 0.183 328.5);
Tailwind
colors: {
  custom: {
    50: '#b068ac',
    500: '#8a2089',
    950: '#000000',
  },
}
SCSS
$custom: #8a2089;
$custom-light: #b068ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2089",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 300.566,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4594,
    "c": 0.18275,
    "h": 328.5
  },
  "luminance": 0.08242
}

Semantic roles & 50–950 ramp

primary
#8A2089
secondary
#4DB94E
accent
#E54442
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2089

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

Preview Lab → · Contrast checker → · Palette generator →

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