#8A4789#8A4789

#8A4789 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 50.5% C 0.127 H 327.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#8A4789
RGBrgb(138, 71, 137)
HSLhsl(301, 32%, 41%)
HSVhsv(301, 49%, 54%)
CMYKcmyk(0%, 48.6%, 0.7%, 45.9%)
CIE-LABlab(40.76, 38.42, -24.63)
CIE-LCHlch(40.76, 45.63, 327.34°)
OKLaboklab(50.51% 0.1071 -0.0674)
OKLCHoklch(50.51% 0.127 327.8)
XYZxyz(17.2495, 11.7168, 25.0150)
Luminance0.1172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4789 #478A48
analogous
#69478A #8A4789 #8A4767
triadic
#8A4789 #898A47 #47898A
tetradic
#8A4789 #8A6947 #478A48 #47678A
square
#8A4789 #8A6947 #478A48 #47678A
split-complementary
#8A4789 #678A47 #478A69
monochromatic
#391D39 #623261 #8A4789 #AE61AC #C289C1

Accessibility & contrast

On white

6.28
#8A4789 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8A4789 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4789
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4789#FFFFFF#000000##FFFFFF
##8A47891.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425B8B
Deuteranopia (green-blind)
#556387
Tritanopia (blue-blind)
#8E4E61
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a4789;
/* rgb */ color: rgb(138, 71, 137);
/* oklch */ color: oklch(50.5% 0.127 327.8);
Tailwind
colors: {
  custom: {
    50: '#ae7dab',
    500: '#8a4789',
    950: '#000000',
  },
}
SCSS
$custom: #8a4789;
$custom-light: #ae7dab;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4789",
  "rgb": {
    "r": 138,
    "g": 71,
    "b": 137
  },
  "hsl": {
    "h": 300.896,
    "s": 32.057,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50514,
    "c": 0.12652,
    "h": 327.8
  },
  "luminance": 0.11716
}

Semantic roles & 50–950 ramp

primary
#8A4789
secondary
#7FAE80
accent
#C86160
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #8A4789

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

Preview Lab → · Contrast checker → · Palette generator →

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