#8A499B#8A499B

#8A499B is a mid, vivid purple. Relative luminance 0.125; OKLCH L 51.8% C 0.142 H 319.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#8A499B
RGBrgb(138, 73, 155)
HSLhsl(288, 36%, 45%)
HSVhsv(288, 53%, 61%)
CMYKcmyk(11%, 52.9%, 0%, 39.2%)
CIE-LABlab(42.05, 40.98, -33.48)
CIE-LCHlch(42.05, 52.92, 320.76°)
OKLaboklab(51.76% 0.1068 -0.0929)
OKLCHoklch(51.76% 0.142 319)
XYZxyz(18.7794, 12.5356, 32.4344)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A499B #5A9B49
analogous
#61499B #8A499B #9B4983
triadic
#8A499B #9B8A49 #499B8A
tetradic
#8A499B #9B6149 #5A9B49 #49839B
square
#8A499B #9B6149 #5A9B49 #49839B
split-complementary
#8A499B #839B49 #499B61
monochromatic
#402248 #653571 #8A499B #A869B8 #C093CC

Accessibility & contrast

On white

5.99
#8A499B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8A499B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A499B
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A499B#FFFFFF#000000##FFFFFF
##8A499B1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5F9E
Deuteranopia (green-blind)
#4E6699
Tritanopia (blue-blind)
#8A556B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a499b;
/* rgb */ color: rgb(138, 73, 155);
/* oklch */ color: oklch(51.8% 0.142 319.0);
Tailwind
colors: {
  custom: {
    50: '#ae7eb9',
    500: '#8a499b',
    950: '#000000',
  },
}
SCSS
$custom: #8a499b;
$custom-light: #ae7eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a499b",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 155
  },
  "hsl": {
    "h": 287.561,
    "s": 35.965,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51759,
    "c": 0.14159,
    "h": 319
  },
  "luminance": 0.12535
}

Semantic roles & 50–950 ramp

primary
#8A499B
secondary
#92B888
accent
#CC5C73
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #8A499B

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

Preview Lab → · Contrast checker → · Palette generator →

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