#8A379D#8A379D

#8A379D is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.5% C 0.172 H 319.7°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8A379D
RGBrgb(138, 55, 157)
HSLhsl(289, 48%, 42%)
HSVhsv(289, 65%, 62%)
CMYKcmyk(12.1%, 65%, 0%, 38.4%)
CIE-LABlab(38.85, 50.36, -39.76)
CIE-LCHlch(38.85, 64.16, 321.71°)
OKLaboklab(49.45% 0.1309 -0.1111)
OKLCHoklch(49.45% 0.172 319.7)
XYZxyz(17.9325, 10.5708, 32.9875)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A379D #4A9D37
analogous
#57379D #8A379D #9D377D
triadic
#8A379D #9D8A37 #379D8A
tetradic
#8A379D #9D5737 #4A9D37 #377D9D
square
#8A379D #9D5737 #4A9D37 #377D9D
split-complementary
#8A379D #7D9D37 #379D57
monochromatic
#3A1742 #622770 #8A379D #AC50C2 #C27DD1

Accessibility & contrast

On white

6.74
#8A379D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8A379D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A379D
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A379D#FFFFFF#000000##FFFFFF
##8A379D1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1956A0
Deuteranopia (green-blind)
#3F5E9A
Tritanopia (blue-blind)
#8A4865
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a379d;
/* rgb */ color: rgb(138, 55, 157);
/* oklch */ color: oklch(49.5% 0.172 319.7);
Tailwind
colors: {
  custom: {
    50: '#af74ba',
    500: '#8a379d',
    950: '#000000',
  },
}
SCSS
$custom: #8a379d;
$custom-light: #af74ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a379d",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 157
  },
  "hsl": {
    "h": 288.824,
    "s": 48.113,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49453,
    "c": 0.17169,
    "h": 319.7
  },
  "luminance": 0.1057
}

Semantic roles & 50–950 ramp

primary
#8A379D
secondary
#82BB75
accent
#D85069
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8A379D

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

Preview Lab → · Contrast checker → · Palette generator →

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