#8A3594#8A3594

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

Color values

HEX#8A3594
RGBrgb(138, 53, 148)
HSLhsl(294, 47%, 39%)
HSVhsv(294, 64%, 58%)
CMYKcmyk(6.8%, 64.2%, 0%, 42%)
CIE-LABlab(38.00, 49.50, -35.66)
CIE-LCHlch(38.00, 61.01, 324.23°)
OKLaboklab(48.67% 0.1332 -0.0991)
OKLCHoklch(48.67% 0.166 323.4)
XYZxyz(17.0991, 10.0885, 29.0579)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3594 #3F9435
analogous
#5B3594 #8A3594 #94356F
triadic
#8A3594 #948A35 #35948A
tetradic
#8A3594 #945B35 #3F9435 #356F94
square
#8A3594 #945B35 #3F9435 #356F94
split-complementary
#8A3594 #6F9435 #35945B
monochromatic
#36153A #602567 #8A3594 #B149BE #C576CE

Accessibility & contrast

On white

6.96
#8A3594 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8A3594 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3594
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3594#FFFFFF#000000##FFFFFF
##8A35941.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215397
Deuteranopia (green-blind)
#435D92
Tritanopia (blue-blind)
#8C4360
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a3594;
/* rgb */ color: rgb(138, 53, 148);
/* oklch */ color: oklch(48.7% 0.166 323.4);
Tailwind
colors: {
  custom: {
    50: '#af72b4',
    500: '#8a3594',
    950: '#000000',
  },
}
SCSS
$custom: #8a3594;
$custom-light: #af72b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3594",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 148
  },
  "hsl": {
    "h": 293.684,
    "s": 47.264,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48672,
    "c": 0.16604,
    "h": 323.4
  },
  "luminance": 0.10088
}

Semantic roles & 50–950 ramp

primary
#8A3594
secondary
#76B66E
accent
#D7515F
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A3594

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

Preview Lab → · Contrast checker → · Palette generator →

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