#8A3499#8A3499

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

Color values

HEX#8A3499
RGBrgb(138, 52, 153)
HSLhsl(291, 49%, 40%)
HSVhsv(291, 66%, 60%)
CMYKcmyk(9.8%, 66%, 0%, 40%)
CIE-LABlab(38.13, 50.91, -38.49)
CIE-LCHlch(38.13, 63.82, 322.91°)
OKLaboklab(48.86% 0.1345 -0.1073)
OKLCHoklch(48.86% 0.172 321.4)
XYZxyz(17.4584, 10.1601, 31.1723)
Luminance0.1016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3499 #439934
analogous
#573499 #8A3499 #993475
triadic
#8A3499 #998A34 #34998A
tetradic
#8A3499 #995734 #439934 #347599
square
#8A3499 #995734 #439934 #347599
split-complementary
#8A3499 #759934 #349957
monochromatic
#38153E #61246B #8A3499 #AF49C1 #C377D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A3499#FFFFFF#000000##FFFFFF
##8A34991.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)
#19549C
Deuteranopia (green-blind)
#3F5D96
Tritanopia (blue-blind)
#8B4562
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a3499;
/* rgb */ color: rgb(138, 52, 153);
/* oklch */ color: oklch(48.9% 0.172 321.4);
Tailwind
colors: {
  custom: {
    50: '#af72b7',
    500: '#8a3499',
    950: '#000000',
  },
}
SCSS
$custom: #8a3499;
$custom-light: #af72b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3499",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 153
  },
  "hsl": {
    "h": 291.089,
    "s": 49.268,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48857,
    "c": 0.17209,
    "h": 321.4
  },
  "luminance": 0.10159
}

Semantic roles & 50–950 ramp

primary
#8A3499
secondary
#7BB970
accent
#D94F63
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A3499

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

Preview Lab → · Contrast checker → · Palette generator →

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