#8A4596#8A4596

#8A4596 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 50.9% C 0.143 H 321.5°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8A4596
RGBrgb(138, 69, 150)
HSLhsl(291, 37%, 43%)
HSVhsv(291, 54%, 59%)
CMYKcmyk(8%, 54%, 0%, 41.2%)
CIE-LABlab(41.00, 42.06, -32.14)
CIE-LCHlch(41.00, 52.93, 322.62°)
OKLaboklab(50.9% 0.112 -0.089)
OKLCHoklch(50.9% 0.143 321.5)
XYZxyz(18.1138, 11.8623, 30.1838)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4596 #519645
analogous
#614596 #8A4596 #964579
triadic
#8A4596 #968A45 #45968A
tetradic
#8A4596 #966145 #519645 #457996
square
#8A4596 #966145 #519645 #457996
split-complementary
#8A4596 #799645 #459661
monochromatic
#3D1E42 #63326C #8A4596 #AA62B7 #C18CCA

Accessibility & contrast

On white

6.23
#8A4596 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8A4596 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4596
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4596#FFFFFF#000000##FFFFFF
##8A45961.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C99
Deuteranopia (green-blind)
#4D6394
Tritanopia (blue-blind)
#8B5067
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a4596;
/* rgb */ color: rgb(138, 69, 150);
/* oklch */ color: oklch(50.9% 0.143 321.5);
Tailwind
colors: {
  custom: {
    50: '#ae7cb5',
    500: '#8a4596',
    950: '#000000',
  },
}
SCSS
$custom: #8a4596;
$custom-light: #ae7cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4596",
  "rgb": {
    "r": 138,
    "g": 69,
    "b": 150
  },
  "hsl": {
    "h": 291.111,
    "s": 36.986,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50895,
    "c": 0.14305,
    "h": 321.5
  },
  "luminance": 0.11862
}

Semantic roles & 50–950 ramp

primary
#8A4596
secondary
#89B582
accent
#CD5B6C
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8A4596

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

Preview Lab → · Contrast checker → · Palette generator →

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