#8A489A#8A489A

#8A489A is a mid, vivid purple. Relative luminance 0.124; OKLCH L 51.6% C 0.142 H 319.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8A489A
RGBrgb(138, 72, 154)
HSLhsl(288, 36%, 44%)
HSVhsv(288, 53%, 60%)
CMYKcmyk(10.4%, 53.2%, 0%, 39.6%)
CIE-LABlab(41.80, 41.30, -33.28)
CIE-LCHlch(41.80, 53.04, 321.14°)
OKLaboklab(51.55% 0.1082 -0.0923)
OKLCHoklch(51.55% 0.142 319.5)
XYZxyz(18.6306, 12.3718, 31.9722)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A489A #589A48
analogous
#61489A #8A489A #9A4881
triadic
#8A489A #9A8A48 #489A8A
tetradic
#8A489A #9A6148 #589A48 #48819A
square
#8A489A #9A6148 #589A48 #48819A
split-complementary
#8A489A #819A48 #489A61
monochromatic
#3F2147 #653570 #8A489A #A867B8 #C091CC

Accessibility & contrast

On white

6.04
#8A489A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8A489A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A489A
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A489A#FFFFFF#000000##FFFFFF
##8A489A1.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395E9D
Deuteranopia (green-blind)
#4E6598
Tritanopia (blue-blind)
#8B546A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a489a;
/* rgb */ color: rgb(138, 72, 154);
/* oklch */ color: oklch(51.6% 0.142 319.5);
Tailwind
colors: {
  custom: {
    50: '#ae7eb8',
    500: '#8a489a',
    950: '#000000',
  },
}
SCSS
$custom: #8a489a;
$custom-light: #ae7eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a489a",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 154
  },
  "hsl": {
    "h": 288.293,
    "s": 36.283,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51555,
    "c": 0.14221,
    "h": 319.5
  },
  "luminance": 0.12371
}

Semantic roles & 50–950 ramp

primary
#8A489A
secondary
#90B786
accent
#CC5C72
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #8A489A

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

Preview Lab → · Contrast checker → · Palette generator →

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