#8A379F#8A379F

#8A379F is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.6% C 0.174 H 318.9°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#8A379F
RGBrgb(138, 55, 159)
HSLhsl(288, 49%, 42%)
HSVhsv(288, 65%, 62%)
CMYKcmyk(13.2%, 65.4%, 0%, 37.6%)
CIE-LABlab(38.97, 50.76, -40.77)
CIE-LCHlch(38.97, 65.11, 321.23°)
OKLaboklab(49.58% 0.1309 -0.114)
OKLCHoklch(49.58% 0.174 318.9)
XYZxyz(18.1046, 10.6397, 33.8942)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A379F #4C9F37
analogous
#56379F #8A379F #9F3780
triadic
#8A379F #9F8A37 #379F8A
tetradic
#8A379F #9F5637 #4C9F37 #37809F
square
#8A379F #9F5637 #4C9F37 #37809F
split-complementary
#8A379F #809F37 #379F56
monochromatic
#3B1844 #632772 #8A379F #AC51C3 #C17ED2

Accessibility & contrast

On white

6.71
#8A379F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8A379F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A379F
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A379F#FFFFFF#000000##FFFFFF
##8A379F1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1656A2
Deuteranopia (green-blind)
#3D5F9C
Tritanopia (blue-blind)
#8A4966
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a379f;
/* rgb */ color: rgb(138, 55, 159);
/* oklch */ color: oklch(49.6% 0.174 318.9);
Tailwind
colors: {
  custom: {
    50: '#af74bc',
    500: '#8a379f',
    950: '#000000',
  },
}
SCSS
$custom: #8a379f;
$custom-light: #af74bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a379f",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 159
  },
  "hsl": {
    "h": 287.885,
    "s": 48.598,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49577,
    "c": 0.17361,
    "h": 318.9
  },
  "luminance": 0.10639
}

Semantic roles & 50–950 ramp

primary
#8A379F
secondary
#84BC76
accent
#D8506B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8A379F

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

Preview Lab → · Contrast checker → · Palette generator →

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