#8A4591#8A4591

#8A4591 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 50.6% C 0.138 H 323.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#8A4591
RGBrgb(138, 69, 145)
HSLhsl(294, 36%, 42%)
HSVhsv(294, 52%, 57%)
CMYKcmyk(4.8%, 52.4%, 0%, 43.1%)
CIE-LABlab(40.74, 41.05, -29.51)
CIE-LCHlch(40.74, 50.56, 324.29°)
OKLaboklab(50.63% 0.1113 -0.0814)
OKLCHoklch(50.63% 0.138 323.8)
XYZxyz(17.7197, 11.7047, 28.1084)
Luminance0.1170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4591 #4C9145
analogous
#644591 #8A4591 #914572
triadic
#8A4591 #918A45 #45918A
tetradic
#8A4591 #916445 #4C9145 #457291
square
#8A4591 #916445 #4C9145 #457291
split-complementary
#8A4591 #729145 #459164
monochromatic
#3B1E3E #633168 #8A4591 #AC60B3 #C189C7

Accessibility & contrast

On white

6.29
#8A4591 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8A4591 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4591
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4591#FFFFFF#000000##FFFFFF
##8A45911.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5B94
Deuteranopia (green-blind)
#50638F
Tritanopia (blue-blind)
#8C4F64
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a4591;
/* rgb */ color: rgb(138, 69, 145);
/* oklch */ color: oklch(50.6% 0.138 323.8);
Tailwind
colors: {
  custom: {
    50: '#ae7cb1',
    500: '#8a4591',
    950: '#000000',
  },
}
SCSS
$custom: #8a4591;
$custom-light: #ae7cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4591",
  "rgb": {
    "r": 138,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 294.474,
    "s": 35.514,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50625,
    "c": 0.13794,
    "h": 323.8
  },
  "luminance": 0.11704
}

Semantic roles & 50–950 ramp

primary
#8A4591
secondary
#84B280
accent
#CC5C66
background
#FAF7FA
surface
#F5EEF5
border
#CFC9CF
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #8A4591

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

Preview Lab → · Contrast checker → · Palette generator →

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