#8A49A9#8A49A9

#8A49A9 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 52.6% C 0.157 H 313.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8A49A9
RGBrgb(138, 73, 169)
HSLhsl(281, 40%, 47%)
HSVhsv(281, 57%, 66%)
CMYKcmyk(18.3%, 56.8%, 0%, 33.7%)
CIE-LABlab(42.81, 44.01, -40.62)
CIE-LCHlch(42.81, 59.89, 317.29°)
OKLaboklab(52.56% 0.108 -0.1137)
OKLCHoklch(52.56% 0.157 313.5)
XYZxyz(20.0240, 13.0335, 38.9893)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49A9 #68A949
analogous
#5A49A9 #8A49A9 #A94998
triadic
#8A49A9 #A98A49 #49A98A
tetradic
#8A49A9 #A95A49 #68A949 #4998A9
square
#8A49A9 #A95A49 #68A949 #4998A9
split-complementary
#8A49A9 #98A949 #49A95A
monochromatic
#442454 #67377E #8A49A9 #A66FC1 #C099D3

Accessibility & contrast

On white

5.82
#8A49A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8A49A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49A9
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49A9#FFFFFF#000000##FFFFFF
##8A49A91.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E62AC
Deuteranopia (green-blind)
#4567A7
Tritanopia (blue-blind)
#875972
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a49a9;
/* rgb */ color: rgb(138, 73, 169);
/* oklch */ color: oklch(52.6% 0.157 313.5);
Tailwind
colors: {
  custom: {
    50: '#af7fc3',
    500: '#8a49a9',
    950: '#000000',
  },
}
SCSS
$custom: #8a49a9;
$custom-light: #af7fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49a9",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 169
  },
  "hsl": {
    "h": 280.625,
    "s": 39.669,
    "l": 47.451
  },
  "oklch": {
    "l": 0.52563,
    "c": 0.15683,
    "h": 313.5
  },
  "luminance": 0.13033
}

Semantic roles & 50–950 ramp

primary
#8A49A9
secondary
#9EBF8E
accent
#D0587F
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A12
muted
#807C81

Preview Lab

Preview with #8A49A9

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

Preview Lab → · Contrast checker → · Palette generator →

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