#8A1989#8A1989

#8A1989 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.189 H 328.6°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#8A1989
RGBrgb(138, 25, 137)
HSLhsl(301, 69%, 32%)
HSVhsv(301, 82%, 54%)
CMYKcmyk(0%, 81.9%, 0.7%, 45.9%)
CIE-LABlab(33.79, 57.66, -35.61)
CIE-LCHlch(33.79, 67.77, 328.30°)
OKLaboklab(45.44% 0.1615 -0.0987)
OKLCHoklch(45.44% 0.189 328.6)
XYZxyz(15.3441, 7.9059, 24.3799)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1989 #198A1A
analogous
#53198A #8A1989 #8A1951
triadic
#8A1989 #898A19 #19898A
tetradic
#8A1989 #8A5319 #198A1A #19518A
square
#8A1989 #8A5319 #198A1A #19518A
split-complementary
#8A1989 #518A19 #198A53
monochromatic
#220622 #561056 #8A1989 #BE22BC #DD41DB

Accessibility & contrast

On white

8.14
#8A1989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8A1989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1989
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1989#FFFFFF#000000##FFFFFF
##8A19891.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#3C5486
Tritanopia (blue-blind)
#8F2D52
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a1989;
/* rgb */ color: rgb(138, 25, 137);
/* oklch */ color: oklch(45.4% 0.189 328.6);
Tailwind
colors: {
  custom: {
    50: '#b066ac',
    500: '#8a1989',
    950: '#000000',
  },
}
SCSS
$custom: #8a1989;
$custom-light: #b066ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1989",
  "rgb": {
    "r": 138,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 300.531,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45442,
    "c": 0.1893,
    "h": 328.6
  },
  "luminance": 0.07905
}

Semantic roles & 50–950 ramp

primary
#8A1989
secondary
#42BD43
accent
#EC3D3C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A1989

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

Preview Lab → · Contrast checker → · Palette generator →

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