#8A1988#8A1988

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

Color values

HEX#8A1988
RGBrgb(138, 25, 136)
HSLhsl(301, 69%, 32%)
HSVhsv(301, 82%, 54%)
CMYKcmyk(0%, 81.9%, 1.4%, 45.9%)
CIE-LABlab(33.73, 57.49, -35.09)
CIE-LCHlch(33.73, 67.35, 328.61°)
OKLaboklab(45.38% 0.1615 -0.0972)
OKLCHoklch(45.38% 0.189 329)
XYZxyz(15.2727, 7.8773, 24.0039)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1988 #198A1B
analogous
#54198A #8A1988 #8A1950
triadic
#8A1988 #888A19 #19888A
tetradic
#8A1988 #8A5419 #198A1B #19508A
square
#8A1988 #8A5419 #198A1B #19508A
split-complementary
#8A1988 #508A19 #198A54
monochromatic
#220622 #561055 #8A1988 #BE22BB #DD41DA

Accessibility & contrast

On white

8.15
#8A1988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1988
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1988#FFFFFF#000000##FFFFFF
##8A19881.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#3C5485
Tritanopia (blue-blind)
#8F2C51
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a1988;
/* rgb */ color: rgb(138, 25, 136);
/* oklch */ color: oklch(45.4% 0.189 329.0);
Tailwind
colors: {
  custom: {
    50: '#b066ab',
    500: '#8a1988',
    950: '#000000',
  },
}
SCSS
$custom: #8a1988;
$custom-light: #b066ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1988",
  "rgb": {
    "r": 138,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 301.062,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4538,
    "c": 0.18854,
    "h": 329
  },
  "luminance": 0.07876
}

Semantic roles & 50–950 ramp

primary
#8A1988
secondary
#42BD44
accent
#EC3F3C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A1988

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

Preview Lab → · Contrast checker → · Palette generator →

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