#8A399A#8A399A

#8A399A is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.5% C 0.166 H 320.7°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8A399A
RGBrgb(138, 57, 154)
HSLhsl(290, 46%, 41%)
HSVhsv(290, 63%, 60%)
CMYKcmyk(10.4%, 63%, 0%, 39.6%)
CIE-LABlab(39.01, 48.84, -37.70)
CIE-LCHlch(39.01, 61.69, 322.33°)
OKLaboklab(49.51% 0.1284 -0.1051)
OKLCHoklch(49.51% 0.166 320.7)
XYZxyz(17.7764, 10.6635, 31.6875)
Luminance0.1066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A399A #499A39
analogous
#5A399A #8A399A #9A397A
triadic
#8A399A #9A8A39 #399A8A
tetradic
#8A399A #9A5A39 #499A39 #397A9A
square
#8A399A #9A5A39 #499A39 #397A9A
split-complementary
#8A399A #7A9A39 #399A5A
monochromatic
#3A1841 #62286D #8A399A #AD51BF #C27ECF

Accessibility & contrast

On white

6.70
#8A399A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A399A
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A399A#FFFFFF#000000##FFFFFF
##8A399A1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21569D
Deuteranopia (green-blind)
#425F98
Tritanopia (blue-blind)
#8B4964
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a399a;
/* rgb */ color: rgb(138, 57, 154);
/* oklch */ color: oklch(49.5% 0.166 320.7);
Tailwind
colors: {
  custom: {
    50: '#af75b8',
    500: '#8a399a',
    950: '#000000',
  },
}
SCSS
$custom: #8a399a;
$custom-light: #af75b8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a399a",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 154
  },
  "hsl": {
    "h": 290.103,
    "s": 45.972,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49512,
    "c": 0.16591,
    "h": 320.7
  },
  "luminance": 0.10663
}

Semantic roles & 50–950 ramp

primary
#8A399A
secondary
#81B976
accent
#D65268
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A399A

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

Preview Lab → · Contrast checker → · Palette generator →

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