#8A399E#8A399E

#8A399E is a mid, vivid purple. Relative luminance 0.108; OKLCH L 49.8% C 0.170 H 319.2°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#8A399E
RGBrgb(138, 57, 158)
HSLhsl(288, 47%, 42%)
HSVhsv(288, 64%, 62%)
CMYKcmyk(12.7%, 63.9%, 0%, 38%)
CIE-LABlab(39.24, 49.64, -39.74)
CIE-LCHlch(39.24, 63.59, 321.32°)
OKLaboklab(49.76% 0.1285 -0.111)
OKLCHoklch(49.76% 0.17 319.2)
XYZxyz(18.1151, 10.7990, 33.4713)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A399E #4D9E39
analogous
#58399E #8A399E #9E3980
triadic
#8A399E #9E8A39 #399E8A
tetradic
#8A399E #9E5839 #4D9E39 #39809E
square
#8A399E #9E5839 #4D9E39 #39809E
split-complementary
#8A399E #809E39 #399E58
monochromatic
#3B1944 #632971 #8A399E #AB53C1 #C180D1

Accessibility & contrast

On white

6.65
#8A399E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8A399E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A399E
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A399E#FFFFFF#000000##FFFFFF
##8A399E1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C57A1
Deuteranopia (green-blind)
#405F9B
Tritanopia (blue-blind)
#8A4A66
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a399e;
/* rgb */ color: rgb(138, 57, 158);
/* oklch */ color: oklch(49.8% 0.170 319.2);
Tailwind
colors: {
  custom: {
    50: '#af75bb',
    500: '#8a399e',
    950: '#000000',
  },
}
SCSS
$custom: #8a399e;
$custom-light: #af75bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a399e",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 158
  },
  "hsl": {
    "h": 288.119,
    "s": 46.977,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49755,
    "c": 0.16979,
    "h": 319.2
  },
  "luminance": 0.10798
}

Semantic roles & 50–950 ramp

primary
#8A399E
secondary
#85BB78
accent
#D7516C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8A399E

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

Preview Lab → · Contrast checker → · Palette generator →

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