#8A2088#8A2088

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

Color values

HEX#8A2088
RGBrgb(138, 32, 136)
HSLhsl(301, 62%, 33%)
HSVhsv(301, 77%, 54%)
CMYKcmyk(0%, 76.8%, 1.4%, 45.9%)
CIE-LABlab(34.43, 55.47, -33.97)
CIE-LCHlch(34.43, 65.05, 328.52°)
OKLaboklab(45.88% 0.1558 -0.094)
OKLCHoklch(45.88% 0.182 328.9)
XYZxyz(15.4415, 8.2150, 24.0601)
Luminance0.0821 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2088 #208A22
analogous
#57208A #8A2088 #8A2053
triadic
#8A2088 #888A20 #20888A
tetradic
#8A2088 #8A5720 #208A22 #20538A
square
#8A2088 #8A5720 #208A22 #20538A
split-complementary
#8A2088 #538A20 #208A57
monochromatic
#270926 #581457 #8A2088 #BC2CB9 #D64ED3

Accessibility & contrast

On white

7.95
#8A2088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8A2088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2088
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2088#FFFFFF#000000##FFFFFF
##8A20881.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B488B
Deuteranopia (green-blind)
#3F5685
Tritanopia (blue-blind)
#8F3053
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2088;
/* rgb */ color: rgb(138, 32, 136);
/* oklch */ color: oklch(45.9% 0.182 328.9);
Tailwind
colors: {
  custom: {
    50: '#b068ab',
    500: '#8a2088',
    950: '#000000',
  },
}
SCSS
$custom: #8a2088;
$custom-light: #b068ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2088",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 301.132,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45879,
    "c": 0.18196,
    "h": 328.9
  },
  "luminance": 0.08214
}

Semantic roles & 50–950 ramp

primary
#8A2088
secondary
#4DB94F
accent
#E54542
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2088

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

Preview Lab → · Contrast checker → · Palette generator →

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