#8A379A#8A379A

#8A379A is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.3% C 0.169 H 320.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8A379A
RGBrgb(138, 55, 154)
HSLhsl(290, 47%, 41%)
HSVhsv(290, 64%, 60%)
CMYKcmyk(10.4%, 64.3%, 0%, 39.6%)
CIE-LABlab(38.67, 49.76, -38.23)
CIE-LCHlch(38.67, 62.75, 322.47°)
OKLaboklab(49.27% 0.1309 -0.1066)
OKLCHoklch(49.27% 0.169 320.8)
XYZxyz(17.6795, 10.4696, 31.6552)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A379A #479A37
analogous
#58379A #8A379A #9A3778
triadic
#8A379A #9A8A37 #379A8A
tetradic
#8A379A #9A5837 #479A37 #37789A
square
#8A379A #9A5837 #479A37 #37789A
split-complementary
#8A379A #789A37 #379A58
monochromatic
#391740 #62276D #8A379A #AE4EC0 #C27BD0

Accessibility & contrast

On white

6.79
#8A379A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8A379A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A379A
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A379A#FFFFFF#000000##FFFFFF
##8A379A1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E559D
Deuteranopia (green-blind)
#415E97
Tritanopia (blue-blind)
#8B4763
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a379a;
/* rgb */ color: rgb(138, 55, 154);
/* oklch */ color: oklch(49.3% 0.169 320.8);
Tailwind
colors: {
  custom: {
    50: '#af74b8',
    500: '#8a379a',
    950: '#000000',
  },
}
SCSS
$custom: #8a379a;
$custom-light: #af74b8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a379a",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 154
  },
  "hsl": {
    "h": 290.303,
    "s": 47.368,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49269,
    "c": 0.16881,
    "h": 320.8
  },
  "luminance": 0.10469
}

Semantic roles & 50–950 ramp

primary
#8A379A
secondary
#7FB974
accent
#D75167
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A379A

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

Preview Lab → · Contrast checker → · Palette generator →

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