#8A4489#8A4489

#8A4489 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.1% C 0.132 H 327.9°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8A4489
RGBrgb(138, 68, 137)
HSLhsl(301, 34%, 40%)
HSVhsv(301, 51%, 54%)
CMYKcmyk(0%, 50.7%, 0.7%, 45.9%)
CIE-LABlab(40.15, 40.02, -25.57)
CIE-LCHlch(40.15, 47.49, 327.42°)
OKLaboklab(50.06% 0.1116 -0.0701)
OKLCHoklch(50.06% 0.132 327.9)
XYZxyz(17.0634, 11.3446, 24.9530)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4489 #448A45
analogous
#68448A #8A4489 #8A4466
triadic
#8A4489 #898A44 #44898A
tetradic
#8A4489 #8A6844 #448A45 #44668A
square
#8A4489 #8A6844 #448A45 #44668A
split-complementary
#8A4489 #668A44 #448A68
monochromatic
#381C38 #613060 #8A4489 #AF5CAE #C385C2

Accessibility & contrast

On white

6.42
#8A4489 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8A4489 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4489
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4489#FFFFFF#000000##FFFFFF
##8A44891.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E598B
Deuteranopia (green-blind)
#536287
Tritanopia (blue-blind)
#8E4B60
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a4489;
/* rgb */ color: rgb(138, 68, 137);
/* oklch */ color: oklch(50.1% 0.132 327.9);
Tailwind
colors: {
  custom: {
    50: '#ae7bab',
    500: '#8a4489',
    950: '#000000',
  },
}
SCSS
$custom: #8a4489;
$custom-light: #ae7bab;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4489",
  "rgb": {
    "r": 138,
    "g": 68,
    "b": 137
  },
  "hsl": {
    "h": 300.857,
    "s": 33.981,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50064,
    "c": 0.13175,
    "h": 327.9
  },
  "luminance": 0.11344
}

Semantic roles & 50–950 ramp

primary
#8A4489
secondary
#7CAE7C
accent
#CA5F5E
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #8A4489

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

Preview Lab → · Contrast checker → · Palette generator →

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