#8A3491#8A3491

#8A3491 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.4% C 0.165 H 324.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#8A3491
RGBrgb(138, 52, 145)
HSLhsl(295, 47%, 39%)
HSVhsv(295, 64%, 57%)
CMYKcmyk(4.8%, 64.1%, 0%, 43.1%)
CIE-LABlab(37.67, 49.37, -34.36)
CIE-LCHlch(37.67, 60.15, 325.17°)
OKLaboklab(48.38% 0.1343 -0.0953)
OKLCHoklch(48.38% 0.165 324.6)
XYZxyz(16.8196, 9.9046, 27.8084)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3491 #3B9134
analogous
#5B3491 #8A3491 #913469
triadic
#8A3491 #918A34 #34918A
tetradic
#8A3491 #915B34 #3B9134 #346991
square
#8A3491 #915B34 #3B9134 #346991
split-complementary
#8A3491 #699134 #34915B
monochromatic
#341437 #5F2464 #8A3491 #B446BD #C673CD

Accessibility & contrast

On white

7.05
#8A3491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8A3491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3491
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3491#FFFFFF#000000##FFFFFF
##8A34911.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235294
Deuteranopia (green-blind)
#445C8F
Tritanopia (blue-blind)
#8D425E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a3491;
/* rgb */ color: rgb(138, 52, 145);
/* oklch */ color: oklch(48.4% 0.165 324.6);
Tailwind
colors: {
  custom: {
    50: '#af72b1',
    500: '#8a3491',
    950: '#000000',
  },
}
SCSS
$custom: #8a3491;
$custom-light: #af72b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3491",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 145
  },
  "hsl": {
    "h": 295.484,
    "s": 47.208,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48378,
    "c": 0.16471,
    "h": 324.6
  },
  "luminance": 0.09904
}

Semantic roles & 50–950 ramp

primary
#8A3491
secondary
#71B56C
accent
#D7515B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A3491

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

Preview Lab → · Contrast checker → · Palette generator →

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