#8A499D#8A499D

#8A499D is a mid, vivid purple. Relative luminance 0.126; OKLCH L 51.9% C 0.144 H 318.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8A499D
RGBrgb(138, 73, 157)
HSLhsl(286, 37%, 45%)
HSVhsv(286, 54%, 62%)
CMYKcmyk(12.1%, 53.5%, 0%, 38.4%)
CIE-LABlab(42.16, 41.40, -34.51)
CIE-LCHlch(42.16, 53.90, 320.19°)
OKLaboklab(51.87% 0.1071 -0.0959)
OKLCHoklch(51.87% 0.144 318.1)
XYZxyz(18.9487, 12.6034, 33.3263)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A499D #5C9D49
analogous
#60499D #8A499D #9D4986
triadic
#8A499D #9D8A49 #499D8A
tetradic
#8A499D #9D6049 #5C9D49 #49869D
square
#8A499D #9D6049 #5C9D49 #49869D
split-complementary
#8A499D #869D49 #499D60
monochromatic
#412249 #653673 #8A499D #A76ABA #C093CD

Accessibility & contrast

On white

5.96
#8A499D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8A499D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A499D
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A499D#FFFFFF#000000##FFFFFF
##8A499D1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385FA0
Deuteranopia (green-blind)
#4D669B
Tritanopia (blue-blind)
#8A556C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a499d;
/* rgb */ color: rgb(138, 73, 157);
/* oklch */ color: oklch(51.9% 0.144 318.1);
Tailwind
colors: {
  custom: {
    50: '#ae7eba',
    500: '#8a499d',
    950: '#000000',
  },
}
SCSS
$custom: #8a499d;
$custom-light: #ae7eba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a499d",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 157
  },
  "hsl": {
    "h": 286.429,
    "s": 36.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5187,
    "c": 0.14375,
    "h": 318.1
  },
  "luminance": 0.12603
}

Semantic roles & 50–950 ramp

primary
#8A499D
secondary
#94B989
accent
#CD5B75
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #8A499D

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

Preview Lab → · Contrast checker → · Palette generator →

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