#8A3496#8A3496

#8A3496 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.7% C 0.169 H 322.6°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8A3496
RGBrgb(138, 52, 150)
HSLhsl(293, 49%, 40%)
HSVhsv(293, 65%, 59%)
CMYKcmyk(8%, 65.3%, 0%, 41.2%)
CIE-LABlab(37.95, 50.33, -36.95)
CIE-LCHlch(37.95, 62.44, 323.72°)
OKLaboklab(48.68% 0.1345 -0.1028)
OKLCHoklch(48.68% 0.169 322.6)
XYZxyz(17.2137, 10.0622, 29.8837)
Luminance0.1006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3496 #409634
analogous
#593496 #8A3496 #963471
triadic
#8A3496 #968A34 #34968A
tetradic
#8A3496 #965934 #409634 #347196
square
#8A3496 #965934 #409634 #347196
split-complementary
#8A3496 #719634 #349659
monochromatic
#36143B #602469 #8A3496 #B148BF #C475CF

Accessibility & contrast

On white

6.97
#8A3496 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8A3496 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3496
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3496#FFFFFF#000000##FFFFFF
##8A34961.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5399
Deuteranopia (green-blind)
#415D94
Tritanopia (blue-blind)
#8C4460
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a3496;
/* rgb */ color: rgb(138, 52, 150);
/* oklch */ color: oklch(48.7% 0.169 322.6);
Tailwind
colors: {
  custom: {
    50: '#af72b5',
    500: '#8a3496',
    950: '#000000',
  },
}
SCSS
$custom: #8a3496;
$custom-light: #af72b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3496",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 150
  },
  "hsl": {
    "h": 292.653,
    "s": 48.515,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48675,
    "c": 0.1693,
    "h": 322.6
  },
  "luminance": 0.10061
}

Semantic roles & 50–950 ramp

primary
#8A3496
secondary
#77B86E
accent
#D85060
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A3496

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

Preview Lab → · Contrast checker → · Palette generator →

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