#8A4487#8A4487

#8A4487 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.0% C 0.130 H 328.9°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8A4487
RGBrgb(138, 68, 135)
HSLhsl(303, 34%, 40%)
HSVhsv(303, 51%, 54%)
CMYKcmyk(0%, 50.7%, 2.2%, 45.9%)
CIE-LABlab(40.06, 39.64, -24.50)
CIE-LCHlch(40.06, 46.60, 328.28°)
OKLaboklab(49.96% 0.1112 -0.067)
OKLCHoklch(49.96% 0.13 328.9)
XYZxyz(16.9213, 11.2878, 24.2044)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4487 #448A47
analogous
#6A448A #8A4487 #8A4464
triadic
#8A4487 #878A44 #44878A
tetradic
#8A4487 #8A6A44 #448A47 #44648A
square
#8A4487 #8A6A44 #448A47 #44648A
split-complementary
#8A4487 #648A44 #448A6A
monochromatic
#381C37 #61305F #8A4487 #AF5CAB #C385C0

Accessibility & contrast

On white

6.45
#8A4487 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8A4487 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4487
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4487#FFFFFF#000000##FFFFFF
##8A44871.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5889
Deuteranopia (green-blind)
#546285
Tritanopia (blue-blind)
#8E4B5F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a4487;
/* rgb */ color: rgb(138, 68, 135);
/* oklch */ color: oklch(50.0% 0.130 328.9);
Tailwind
colors: {
  custom: {
    50: '#ae7baa',
    500: '#8a4487',
    950: '#000000',
  },
}
SCSS
$custom: #8a4487;
$custom-light: #ae7baa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4487",
  "rgb": {
    "r": 138,
    "g": 68,
    "b": 135
  },
  "hsl": {
    "h": 302.571,
    "s": 33.981,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49963,
    "c": 0.12983,
    "h": 328.9
  },
  "luminance": 0.11287
}

Semantic roles & 50–950 ramp

primary
#8A4487
secondary
#7CAE7E
accent
#CA625E
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #8A4487

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

Preview Lab → · Contrast checker → · Palette generator →

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