#8A3591#8A3591

#8A3591 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.5% C 0.163 H 324.6°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8A3591
RGBrgb(138, 53, 145)
HSLhsl(295, 46%, 39%)
HSVhsv(295, 63%, 57%)
CMYKcmyk(4.8%, 63.4%, 0%, 43.1%)
CIE-LABlab(37.83, 48.92, -34.10)
CIE-LCHlch(37.83, 59.64, 325.12°)
OKLaboklab(48.5% 0.1331 -0.0946)
OKLCHoklch(48.5% 0.163 324.6)
XYZxyz(16.8647, 9.9948, 27.8235)
Luminance0.0999 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3591 #3C9135
analogous
#5C3591 #8A3591 #91356A
triadic
#8A3591 #918A35 #35918A
tetradic
#8A3591 #915C35 #3C9135 #356A91
square
#8A3591 #915C35 #3C9135 #356A91
split-complementary
#8A3591 #6A9135 #35915C
monochromatic
#351437 #5F2564 #8A3591 #B347BC #C674CC

Accessibility & contrast

On white

7.00
#8A3591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8A3591 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3591
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3591#FFFFFF#000000##FFFFFF
##8A35911.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255294
Deuteranopia (green-blind)
#455D8F
Tritanopia (blue-blind)
#8D425E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a3591;
/* rgb */ color: rgb(138, 53, 145);
/* oklch */ color: oklch(48.5% 0.163 324.6);
Tailwind
colors: {
  custom: {
    50: '#af72b1',
    500: '#8a3591',
    950: '#000000',
  },
}
SCSS
$custom: #8a3591;
$custom-light: #af72b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3591",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 145
  },
  "hsl": {
    "h": 295.435,
    "s": 46.465,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48496,
    "c": 0.16326,
    "h": 324.6
  },
  "luminance": 0.09994
}

Semantic roles & 50–950 ramp

primary
#8A3591
secondary
#73B56D
accent
#D6525C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A3591

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

Preview Lab → · Contrast checker → · Palette generator →

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