#8A4AA7#8A4AA7

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

Color values

HEX#8A4AA7
RGBrgb(138, 74, 167)
HSLhsl(281, 39%, 47%)
HSVhsv(281, 56%, 65%)
CMYKcmyk(17.4%, 55.7%, 0%, 34.5%)
CIE-LABlab(42.90, 43.04, -39.30)
CIE-LCHlch(42.90, 58.28, 317.60°)
OKLaboklab(52.59% 0.1066 -0.1098)
OKLCHoklch(52.59% 0.153 314.1)
XYZxyz(19.9039, 13.0914, 38.0301)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4AA7 #67A74A
analogous
#5B4AA7 #8A4AA7 #A74A96
triadic
#8A4AA7 #A78A4A #4AA78A
tetradic
#8A4AA7 #A75B4A #67A74A #4A96A7
square
#8A4AA7 #A75B4A #67A74A #4A96A7
split-complementary
#8A4AA7 #96A74A #4AA75B
monochromatic
#442452 #67377D #8A4AA7 #A66FBF #C099D2

Accessibility & contrast

On white

5.80
#8A4AA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8A4AA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4AA7
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4AA7#FFFFFF#000000##FFFFFF
##8A4AA71.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a4aa7;
/* rgb */ color: rgb(138, 74, 167);
/* oklch */ color: oklch(52.6% 0.153 314.1);
Tailwind
colors: {
  custom: {
    50: '#ae7fc1',
    500: '#8a4aa7',
    950: '#000000',
  },
}
SCSS
$custom: #8a4aa7;
$custom-light: #ae7fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4aa7",
  "rgb": {
    "r": 138,
    "g": 74,
    "b": 167
  },
  "hsl": {
    "h": 281.29,
    "s": 38.589,
    "l": 47.255
  },
  "oklch": {
    "l": 0.52591,
    "c": 0.15302,
    "h": 314.1
  },
  "luminance": 0.13091
}

Semantic roles & 50–950 ramp

primary
#8A4AA7
secondary
#9DBE8E
accent
#CF597E
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110A12
muted
#807C81

Preview Lab

Preview with #8A4AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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