#8A3697#8A3697

#8A3697 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.0% C 0.167 H 322.1°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8A3697
RGBrgb(138, 54, 151)
HSLhsl(292, 47%, 40%)
HSVhsv(292, 64%, 59%)
CMYKcmyk(8.6%, 64.2%, 0%, 40.8%)
CIE-LABlab(38.33, 49.63, -36.95)
CIE-LCHlch(38.33, 61.87, 323.33°)
OKLaboklab(48.97% 0.1321 -0.1029)
OKLCHoklch(48.97% 0.167 322.1)
XYZxyz(17.3857, 10.2769, 30.3400)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3697 #439736
analogous
#5A3697 #8A3697 #973673
triadic
#8A3697 #978A36 #36978A
tetradic
#8A3697 #975A36 #439736 #367397
square
#8A3697 #975A36 #439736 #367397
split-complementary
#8A3697 #739736 #36975A
monochromatic
#38163D #61266A #8A3697 #AF4BBF #C378CF

Accessibility & contrast

On white

6.87
#8A3697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8A3697 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3697
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3697#FFFFFF#000000##FFFFFF
##8A36971.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20549A
Deuteranopia (green-blind)
#425D95
Tritanopia (blue-blind)
#8C4561
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a3697;
/* rgb */ color: rgb(138, 54, 151);
/* oklch */ color: oklch(49.0% 0.167 322.1);
Tailwind
colors: {
  custom: {
    50: '#af73b6',
    500: '#8a3697',
    950: '#000000',
  },
}
SCSS
$custom: #8a3697;
$custom-light: #af73b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3697",
  "rgb": {
    "r": 138,
    "g": 54,
    "b": 151
  },
  "hsl": {
    "h": 291.959,
    "s": 47.317,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48969,
    "c": 0.1674,
    "h": 322.1
  },
  "luminance": 0.10276
}

Semantic roles & 50–950 ramp

primary
#8A3697
secondary
#7BB871
accent
#D75163
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A3697

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

Preview Lab → · Contrast checker → · Palette generator →

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