#8A1889#8A1889

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

Color values

HEX#8A1889
RGBrgb(138, 24, 137)
HSLhsl(301, 70%, 32%)
HSVhsv(301, 83%, 54%)
CMYKcmyk(0%, 82.6%, 0.7%, 45.9%)
CIE-LABlab(33.70, 57.91, -35.75)
CIE-LCHlch(33.70, 68.06, 328.31°)
OKLaboklab(45.38% 0.1622 -0.0992)
OKLCHoklch(45.38% 0.19 328.6)
XYZxyz(15.3231, 7.8639, 24.3729)
Luminance0.0786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1889 #188A19
analogous
#52188A #8A1889 #8A1850
triadic
#8A1889 #898A18 #18898A
tetradic
#8A1889 #8A5218 #188A19 #18508A
square
#8A1889 #8A5218 #188A19 #18508A
split-complementary
#8A1889 #508A18 #188A52
monochromatic
#220621 #560F55 #8A1889 #BE21BD #DE3FDC

Accessibility & contrast

On white

8.16
#8A1889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8A1889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1889
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1889#FFFFFF#000000##FFFFFF
##8A18891.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1889;
/* rgb */ color: rgb(138, 24, 137);
/* oklch */ color: oklch(45.4% 0.190 328.6);
Tailwind
colors: {
  custom: {
    50: '#b065ac',
    500: '#8a1889',
    950: '#000000',
  },
}
SCSS
$custom: #8a1889;
$custom-light: #b065ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1889",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 300.526,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4538,
    "c": 0.19013,
    "h": 328.6
  },
  "luminance": 0.07863
}

Semantic roles & 50–950 ramp

primary
#8A1889
secondary
#40BD41
accent
#ED3C3B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8A1889

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

Preview Lab → · Contrast checker → · Palette generator →

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