#8A4096#8A4096

#8A4096 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.2% C 0.151 H 321.9°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8A4096
RGBrgb(138, 64, 150)
HSLhsl(292, 40%, 42%)
HSVhsv(292, 57%, 59%)
CMYKcmyk(8%, 57.3%, 0%, 41.2%)
CIE-LABlab(40.04, 44.63, -33.65)
CIE-LCHlch(40.04, 55.90, 322.98°)
OKLaboklab(50.19% 0.119 -0.0934)
OKLCHoklch(50.19% 0.151 321.9)
XYZxyz(17.8191, 11.2729, 30.0855)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4096 #4C9640
analogous
#5F4096 #8A4096 #964077
triadic
#8A4096 #968A40 #40968A
tetradic
#8A4096 #965F40 #4C9640 #407796
square
#8A4096 #965F40 #4C9640 #407796
split-complementary
#8A4096 #779640 #40965F
monochromatic
#3B1B40 #632E6B #8A4096 #AC5AB9 #C185CB

Accessibility & contrast

On white

6.45
#8A4096 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8A4096 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4096
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4096#FFFFFF#000000##FFFFFF
##8A40961.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315999
Deuteranopia (green-blind)
#4A6194
Tritanopia (blue-blind)
#8C4C65
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a4096;
/* rgb */ color: rgb(138, 64, 150);
/* oklch */ color: oklch(50.2% 0.151 321.9);
Tailwind
colors: {
  custom: {
    50: '#ae79b5',
    500: '#8a4096',
    950: '#000000',
  },
}
SCSS
$custom: #8a4096;
$custom-light: #ae79b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4096",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 150
  },
  "hsl": {
    "h": 291.628,
    "s": 40.187,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5019,
    "c": 0.15123,
    "h": 321.9
  },
  "luminance": 0.11272
}

Semantic roles & 50–950 ramp

primary
#8A4096
secondary
#84B67C
accent
#D05869
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A4096

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

Preview Lab → · Contrast checker → · Palette generator →

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