#8A49AA#8A49AA

#8A49AA is a mid, vivid purple. Relative luminance 0.131; OKLCH L 52.6% C 0.158 H 313.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8A49AA
RGBrgb(138, 73, 170)
HSLhsl(280, 40%, 48%)
HSVhsv(280, 57%, 67%)
CMYKcmyk(18.8%, 57.1%, 0%, 33.3%)
CIE-LABlab(42.87, 44.23, -41.12)
CIE-LCHlch(42.87, 60.39, 317.08°)
OKLaboklab(52.62% 0.1081 -0.1151)
OKLCHoklch(52.62% 0.158 313.2)
XYZxyz(20.1182, 13.0712, 39.4856)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49AA #69AA49
analogous
#5949AA #8A49AA #AA499A
triadic
#8A49AA #AA8A49 #49AA8A
tetradic
#8A49AA #AA5949 #69AA49 #499AAA
square
#8A49AA #AA5949 #69AA49 #499AAA
split-complementary
#8A49AA #9AAA49 #49AA59
monochromatic
#442454 #67377F #8A49AA #A66FC1 #C19AD4

Accessibility & contrast

On white

5.81
#8A49AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A49AA
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49AA#FFFFFF#000000##FFFFFF
##8A49AA1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D62AD
Deuteranopia (green-blind)
#4567A8
Tritanopia (blue-blind)
#875A72
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a49aa;
/* rgb */ color: rgb(138, 73, 170);
/* oklch */ color: oklch(52.6% 0.158 313.2);
Tailwind
colors: {
  custom: {
    50: '#af7fc4',
    500: '#8a49aa',
    950: '#000000',
  },
}
SCSS
$custom: #8a49aa;
$custom-light: #af7fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49aa",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 170
  },
  "hsl": {
    "h": 280.206,
    "s": 39.918,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52623,
    "c": 0.15793,
    "h": 313.2
  },
  "luminance": 0.13071
}

Semantic roles & 50–950 ramp

primary
#8A49AA
secondary
#9FC08F
accent
#D05880
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A12
muted
#807C81

Preview Lab

Preview with #8A49AA

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

Preview Lab → · Contrast checker → · Palette generator →

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