#8A49A7#8A49A7

#8A49A7 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 52.4% C 0.155 H 314.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8A49A7
RGBrgb(138, 73, 167)
HSLhsl(281, 39%, 47%)
HSVhsv(281, 56%, 65%)
CMYKcmyk(17.4%, 56.3%, 0%, 34.5%)
CIE-LABlab(42.70, 43.57, -39.61)
CIE-LCHlch(42.70, 58.88, 317.72°)
OKLaboklab(52.44% 0.1079 -0.1107)
OKLCHoklch(52.44% 0.155 314.3)
XYZxyz(19.8377, 12.9589, 38.0081)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49A7 #66A749
analogous
#5B49A7 #8A49A7 #A74995
triadic
#8A49A7 #A78A49 #49A78A
tetradic
#8A49A7 #A75B49 #66A749 #4995A7
square
#8A49A7 #A75B49 #66A749 #4995A7
split-complementary
#8A49A7 #95A749 #49A75B
monochromatic
#442452 #67367C #8A49A7 #A66EBF #C098D2

Accessibility & contrast

On white

5.85
#8A49A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8A49A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49A7
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49A7#FFFFFF#000000##FFFFFF
##8A49A71.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3061AA
Deuteranopia (green-blind)
#4767A5
Tritanopia (blue-blind)
#885971
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a49a7;
/* rgb */ color: rgb(138, 73, 167);
/* oklch */ color: oklch(52.4% 0.155 314.3);
Tailwind
colors: {
  custom: {
    50: '#ae7fc1',
    500: '#8a49a7',
    950: '#000000',
  },
}
SCSS
$custom: #8a49a7;
$custom-light: #ae7fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49a7",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 167
  },
  "hsl": {
    "h": 281.489,
    "s": 39.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52444,
    "c": 0.15463,
    "h": 314.3
  },
  "luminance": 0.12958
}

Semantic roles & 50–950 ramp

primary
#8A49A7
secondary
#9DBE8D
accent
#CF597D
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110A12
muted
#807C81

Preview Lab

Preview with #8A49A7

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

Preview Lab → · Contrast checker → · Palette generator →

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