#8A3593#8A3593

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

Color values

HEX#8A3593
RGBrgb(138, 53, 147)
HSLhsl(294, 47%, 39%)
HSVhsv(294, 64%, 58%)
CMYKcmyk(6.1%, 63.9%, 0%, 42.4%)
CIE-LABlab(37.94, 49.31, -35.14)
CIE-LCHlch(37.94, 60.55, 324.52°)
OKLaboklab(48.61% 0.1332 -0.0976)
OKLCHoklch(48.61% 0.165 323.8)
XYZxyz(17.0203, 10.0570, 28.6428)
Luminance0.1006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3593 #3E9335
analogous
#5B3593 #8A3593 #93356D
triadic
#8A3593 #938A35 #35938A
tetradic
#8A3593 #935B35 #3E9335 #356D93
square
#8A3593 #935B35 #3E9335 #356D93
split-complementary
#8A3593 #6D9335 #35935B
monochromatic
#361539 #602566 #8A3593 #B248BD #C575CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A3593#FFFFFF#000000##FFFFFF
##8A35931.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)
#235396
Deuteranopia (green-blind)
#445D91
Tritanopia (blue-blind)
#8C435F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a3593;
/* rgb */ color: rgb(138, 53, 147);
/* oklch */ color: oklch(48.6% 0.165 323.8);
Tailwind
colors: {
  custom: {
    50: '#af72b3',
    500: '#8a3593',
    950: '#000000',
  },
}
SCSS
$custom: #8a3593;
$custom-light: #af72b3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3593",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 147
  },
  "hsl": {
    "h": 294.255,
    "s": 47,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48613,
    "c": 0.16511,
    "h": 323.8
  },
  "luminance": 0.10056
}

Semantic roles & 50–950 ramp

primary
#8A3593
secondary
#75B66E
accent
#D7515E
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A3593

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

Preview Lab → · Contrast checker → · Palette generator →

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