#8A4696#8A4696

#8A4696 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.0% C 0.141 H 321.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8A4696
RGBrgb(138, 70, 150)
HSLhsl(291, 36%, 43%)
HSVhsv(291, 53%, 59%)
CMYKcmyk(8%, 53.3%, 0%, 41.2%)
CIE-LABlab(41.19, 41.54, -31.83)
CIE-LCHlch(41.19, 52.33, 322.54°)
OKLaboklab(51.04% 0.1106 -0.0881)
OKLCHoklch(51.04% 0.141 321.4)
XYZxyz(18.1758, 11.9864, 30.2044)
Luminance0.1199 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4696 #529646
analogous
#624696 #8A4696 #96467A
triadic
#8A4696 #968A46 #46968A
tetradic
#8A4696 #966246 #529646 #467A96
square
#8A4696 #966246 #529646 #467A96
split-complementary
#8A4696 #7A9646 #469662
monochromatic
#3D1F43 #64336C #8A4696 #AA63B6 #C18DCA

Accessibility & contrast

On white

6.18
#8A4696 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8A4696 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4696
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4696#FFFFFF#000000##FFFFFF
##8A46961.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395C99
Deuteranopia (green-blind)
#4E6494
Tritanopia (blue-blind)
#8B5167
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a4696;
/* rgb */ color: rgb(138, 70, 150);
/* oklch */ color: oklch(51.0% 0.141 321.4);
Tailwind
colors: {
  custom: {
    50: '#ae7cb5',
    500: '#8a4696',
    950: '#000000',
  },
}
SCSS
$custom: #8a4696;
$custom-light: #ae7cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4696",
  "rgb": {
    "r": 138,
    "g": 70,
    "b": 150
  },
  "hsl": {
    "h": 291,
    "s": 36.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51041,
    "c": 0.14137,
    "h": 321.4
  },
  "luminance": 0.11986
}

Semantic roles & 50–950 ramp

primary
#8A4696
secondary
#8AB583
accent
#CC5B6C
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #8A4696

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

Preview Lab → · Contrast checker → · Palette generator →

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