#8A499A#8A499A

#8A499A is a mid, vivid purple. Relative luminance 0.125; OKLCH L 51.7% C 0.141 H 319.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8A499A
RGBrgb(138, 73, 154)
HSLhsl(288, 36%, 45%)
HSVhsv(288, 53%, 60%)
CMYKcmyk(10.4%, 52.6%, 0%, 39.6%)
CIE-LABlab(42.00, 40.77, -32.96)
CIE-LCHlch(42.00, 52.43, 321.05°)
OKLaboklab(51.7% 0.1067 -0.0914)
OKLCHoklch(51.7% 0.141 319.4)
XYZxyz(18.6958, 12.5022, 31.9939)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A499A #599A49
analogous
#62499A #8A499A #9A4982
triadic
#8A499A #9A8A49 #499A8A
tetradic
#8A499A #9A6249 #599A49 #49829A
square
#8A499A #9A6249 #599A49 #49829A
split-complementary
#8A499A #829A49 #499A62
monochromatic
#402247 #653570 #8A499A #A869B8 #C092CB

Accessibility & contrast

On white

6.00
#8A499A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8A499A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A499A
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A499A#FFFFFF#000000##FFFFFF
##8A499A1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5F9D
Deuteranopia (green-blind)
#4E6598
Tritanopia (blue-blind)
#8B556A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a499a;
/* rgb */ color: rgb(138, 73, 154);
/* oklch */ color: oklch(51.7% 0.141 319.4);
Tailwind
colors: {
  custom: {
    50: '#ae7eb8',
    500: '#8a499a',
    950: '#000000',
  },
}
SCSS
$custom: #8a499a;
$custom-light: #ae7eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a499a",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 154
  },
  "hsl": {
    "h": 288.148,
    "s": 35.683,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51704,
    "c": 0.14052,
    "h": 319.4
  },
  "luminance": 0.12501
}

Semantic roles & 50–950 ramp

primary
#8A499A
secondary
#91B788
accent
#CC5C72
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #8A499A

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

Preview Lab → · Contrast checker → · Palette generator →

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