#8A3599#8A3599

#8A3599 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.0% C 0.171 H 321.4°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#8A3599
RGBrgb(138, 53, 153)
HSLhsl(291, 49%, 40%)
HSVhsv(291, 65%, 60%)
CMYKcmyk(9.8%, 65.4%, 0%, 40%)
CIE-LABlab(38.29, 50.47, -38.24)
CIE-LCHlch(38.29, 63.32, 322.85°)
OKLaboklab(48.97% 0.1333 -0.1066)
OKLCHoklch(48.97% 0.171 321.4)
XYZxyz(17.5035, 10.2503, 31.1873)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3599 #449935
analogous
#583599 #8A3599 #993576
triadic
#8A3599 #998A35 #35998A
tetradic
#8A3599 #995835 #449935 #357699
square
#8A3599 #995835 #449935 #357699
split-complementary
#8A3599 #769935 #359958
monochromatic
#38163E #61256C #8A3599 #AF4BC1 #C378D0

Accessibility & contrast

On white

6.89
#8A3599 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8A3599 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3599
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3599#FFFFFF#000000##FFFFFF
##8A35991.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B549C
Deuteranopia (green-blind)
#405D96
Tritanopia (blue-blind)
#8B4562
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a3599;
/* rgb */ color: rgb(138, 53, 153);
/* oklch */ color: oklch(49.0% 0.171 321.4);
Tailwind
colors: {
  custom: {
    50: '#af73b7',
    500: '#8a3599',
    950: '#000000',
  },
}
SCSS
$custom: #8a3599;
$custom-light: #af73b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3599",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 153
  },
  "hsl": {
    "h": 291,
    "s": 48.544,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48972,
    "c": 0.1707,
    "h": 321.4
  },
  "luminance": 0.10249
}

Semantic roles & 50–950 ramp

primary
#8A3599
secondary
#7CB971
accent
#D85064
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A3599

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

Preview Lab → · Contrast checker → · Palette generator →

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