#8A499E#8A499E

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

Color values

HEX#8A499E
RGBrgb(138, 73, 158)
HSLhsl(286, 37%, 45%)
HSVhsv(286, 54%, 62%)
CMYKcmyk(12.7%, 53.8%, 0%, 38%)
CIE-LABlab(42.21, 41.62, -35.02)
CIE-LCHlch(42.21, 54.39, 319.92°)
OKLaboklab(51.93% 0.1072 -0.0974)
OKLCHoklch(51.93% 0.145 317.7)
XYZxyz(19.0345, 12.6377, 33.7778)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A499E #5D9E49
analogous
#5F499E #8A499E #9E4988
triadic
#8A499E #9E8A49 #499E8A
tetradic
#8A499E #9E5F49 #5D9E49 #49889E
square
#8A499E #9E5F49 #5D9E49 #49889E
split-complementary
#8A499E #889E49 #499E5F
monochromatic
#41224A #653674 #8A499E #A76ABA #C094CE

Accessibility & contrast

On white

5.95
#8A499E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8A499E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A499E
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A499E#FFFFFF#000000##FFFFFF
##8A499E1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375FA1
Deuteranopia (green-blind)
#4C669C
Tritanopia (blue-blind)
#8A566C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a499e;
/* rgb */ color: rgb(138, 73, 158);
/* oklch */ color: oklch(51.9% 0.145 317.7);
Tailwind
colors: {
  custom: {
    50: '#ae7ebb',
    500: '#8a499e',
    950: '#000000',
  },
}
SCSS
$custom: #8a499e;
$custom-light: #ae7ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a499e",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 158
  },
  "hsl": {
    "h": 285.882,
    "s": 36.797,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51926,
    "c": 0.14482,
    "h": 317.7
  },
  "luminance": 0.12637
}

Semantic roles & 50–950 ramp

primary
#8A499E
secondary
#95BA89
accent
#CD5B76
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#110A12
muted
#807C81

Preview Lab

Preview with #8A499E

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

Preview Lab → · Contrast checker → · Palette generator →

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