#8A3596#8A3596

#8A3596 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 48.8% C 0.168 H 322.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8A3596
RGBrgb(138, 53, 150)
HSLhsl(293, 48%, 40%)
HSVhsv(293, 65%, 59%)
CMYKcmyk(8%, 64.7%, 0%, 41.2%)
CIE-LABlab(38.11, 49.88, -36.69)
CIE-LCHlch(38.11, 61.93, 323.66°)
OKLaboklab(48.79% 0.1333 -0.1021)
OKLCHoklch(48.79% 0.168 322.5)
XYZxyz(17.2588, 10.1524, 29.8988)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3596 #419635
analogous
#593596 #8A3596 #963572
triadic
#8A3596 #968A35 #35968A
tetradic
#8A3596 #965935 #419635 #357296
square
#8A3596 #965935 #419635 #357296
split-complementary
#8A3596 #729635 #359659
monochromatic
#37153C #602569 #8A3596 #B049BF #C477CF

Accessibility & contrast

On white

6.93
#8A3596 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8A3596 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3596
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3596#FFFFFF#000000##FFFFFF
##8A35961.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5399
Deuteranopia (green-blind)
#425D94
Tritanopia (blue-blind)
#8C4461
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a3596;
/* rgb */ color: rgb(138, 53, 150);
/* oklch */ color: oklch(48.8% 0.168 322.5);
Tailwind
colors: {
  custom: {
    50: '#af72b5',
    500: '#8a3596',
    950: '#000000',
  },
}
SCSS
$custom: #8a3596;
$custom-light: #af72b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3596",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 150
  },
  "hsl": {
    "h": 292.577,
    "s": 47.783,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48791,
    "c": 0.16789,
    "h": 322.5
  },
  "luminance": 0.10151
}

Semantic roles & 50–950 ramp

primary
#8A3596
secondary
#78B76F
accent
#D75061
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A3596

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

Preview Lab → · Contrast checker → · Palette generator →

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