#8A499C#8A499C

#8A499C is a mid, vivid purple. Relative luminance 0.126; OKLCH L 51.8% C 0.143 H 318.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8A499C
RGBrgb(138, 73, 156)
HSLhsl(287, 36%, 45%)
HSVhsv(287, 53%, 61%)
CMYKcmyk(11.5%, 53.2%, 0%, 38.8%)
CIE-LABlab(42.11, 41.19, -33.99)
CIE-LCHlch(42.11, 53.41, 320.47°)
OKLaboklab(51.81% 0.107 -0.0944)
OKLCHoklch(51.81% 0.143 318.6)
XYZxyz(18.8637, 12.5694, 32.8785)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A499C #5B9C49
analogous
#60499C #8A499C #9C4985
triadic
#8A499C #9C8A49 #499C8A
tetradic
#8A499C #9C6049 #5B9C49 #49859C
square
#8A499C #9C6049 #5B9C49 #49859C
split-complementary
#8A499C #859C49 #499C60
monochromatic
#402249 #653572 #8A499C #A869B9 #C093CC

Accessibility & contrast

On white

5.98
#8A499C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A499C
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A499C#FFFFFF#000000##FFFFFF
##8A499C1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395F9F
Deuteranopia (green-blind)
#4D669A
Tritanopia (blue-blind)
#8A556B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a499c;
/* rgb */ color: rgb(138, 73, 156);
/* oklch */ color: oklch(51.8% 0.143 318.6);
Tailwind
colors: {
  custom: {
    50: '#ae7eb9',
    500: '#8a499c',
    950: '#000000',
  },
}
SCSS
$custom: #8a499c;
$custom-light: #ae7eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a499c",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 156
  },
  "hsl": {
    "h": 286.988,
    "s": 36.245,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51814,
    "c": 0.14267,
    "h": 318.6
  },
  "luminance": 0.12569
}

Semantic roles & 50–950 ramp

primary
#8A499C
secondary
#93B888
accent
#CC5C74
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #8A499C

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

Preview Lab → · Contrast checker → · Palette generator →

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