#8A4AA3#8A4AA3

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

Color values

HEX#8A4AA3
RGBrgb(138, 74, 163)
HSLhsl(283, 38%, 46%)
HSVhsv(283, 55%, 64%)
CMYKcmyk(15.3%, 54.6%, 0%, 36.1%)
CIE-LABlab(42.68, 42.16, -37.27)
CIE-LCHlch(42.68, 56.27, 318.53°)
OKLaboklab(52.36% 0.1062 -0.1039)
OKLCHoklch(52.36% 0.149 315.6)
XYZxyz(19.5399, 12.9458, 36.1127)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4AA3 #63A34A
analogous
#5E4AA3 #8A4AA3 #A34A90
triadic
#8A4AA3 #A38A4A #4AA38A
tetradic
#8A4AA3 #A35E4A #63A34A #4A90A3
square
#8A4AA3 #A35E4A #63A34A #4A90A3
split-complementary
#8A4AA3 #90A34A #4AA35E
monochromatic
#43244F #663779 #8A4AA3 #A76DBD #C097D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A4AA3#FFFFFF#000000##FFFFFF
##8A4AA31.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)
#3561A6
Deuteranopia (green-blind)
#4A67A1
Tritanopia (blue-blind)
#89586F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a4aa3;
/* rgb */ color: rgb(138, 74, 163);
/* oklch */ color: oklch(52.4% 0.149 315.6);
Tailwind
colors: {
  custom: {
    50: '#ae7fbf',
    500: '#8a4aa3',
    950: '#000000',
  },
}
SCSS
$custom: #8a4aa3;
$custom-light: #ae7fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4aa3",
  "rgb": {
    "r": 138,
    "g": 74,
    "b": 163
  },
  "hsl": {
    "h": 283.146,
    "s": 37.553,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52358,
    "c": 0.14861,
    "h": 315.6
  },
  "luminance": 0.12945
}

Semantic roles & 50–950 ramp

primary
#8A4AA3
secondary
#9ABC8D
accent
#CE5A7B
background
#FAF7FB
surface
#F5EEF7
border
#CFC9D0
text
#110A12
muted
#807C81

Preview Lab

Preview with #8A4AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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