#8A3699#8A3699

#8A3699 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.1% C 0.169 H 321.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#8A3699
RGBrgb(138, 54, 153)
HSLhsl(291, 48%, 41%)
HSVhsv(291, 65%, 60%)
CMYKcmyk(9.8%, 64.7%, 0%, 40%)
CIE-LABlab(38.45, 50.02, -37.98)
CIE-LCHlch(38.45, 62.80, 322.79°)
OKLaboklab(49.09% 0.1321 -0.1059)
OKLCHoklch(49.09% 0.169 321.3)
XYZxyz(17.5495, 10.3424, 31.2027)
Luminance0.1034 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3699 #459936
analogous
#583699 #8A3699 #993676
triadic
#8A3699 #998A36 #36998A
tetradic
#8A3699 #995836 #459936 #367699
square
#8A3699 #995836 #459936 #367699
split-complementary
#8A3699 #769936 #369958
monochromatic
#38163F #61266C #8A3699 #AE4CC0 #C37AD0

Accessibility & contrast

On white

6.84
#8A3699 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8A3699 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3699
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3699#FFFFFF#000000##FFFFFF
##8A36991.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D549C
Deuteranopia (green-blind)
#415E96
Tritanopia (blue-blind)
#8B4663
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a3699;
/* rgb */ color: rgb(138, 54, 153);
/* oklch */ color: oklch(49.1% 0.169 321.3);
Tailwind
colors: {
  custom: {
    50: '#af73b7',
    500: '#8a3699',
    950: '#000000',
  },
}
SCSS
$custom: #8a3699;
$custom-light: #af73b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3699",
  "rgb": {
    "r": 138,
    "g": 54,
    "b": 153
  },
  "hsl": {
    "h": 290.909,
    "s": 47.826,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4909,
    "c": 0.16928,
    "h": 321.3
  },
  "luminance": 0.10342
}

Semantic roles & 50–950 ramp

primary
#8A3699
secondary
#7DB972
accent
#D75065
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A3699

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

Preview Lab → · Contrast checker → · Palette generator →

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