#8A39A5#8A39A5

#8A39A5 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.2% C 0.177 H 316.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#8A39A5
RGBrgb(138, 57, 165)
HSLhsl(285, 49%, 44%)
HSVhsv(285, 65%, 65%)
CMYKcmyk(16.4%, 65.5%, 0%, 35.3%)
CIE-LABlab(39.66, 51.08, -43.27)
CIE-LCHlch(39.66, 66.94, 319.73°)
OKLaboklab(50.19% 0.1284 -0.1213)
OKLCHoklch(50.19% 0.177 316.6)
XYZxyz(18.7349, 11.0469, 36.7354)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A39A5 #54A539
analogous
#5439A5 #8A39A5 #A5398A
triadic
#8A39A5 #A58A39 #39A58A
tetradic
#8A39A5 #A55439 #54A539 #398AA5
square
#8A39A5 #A55439 #54A539 #398AA5
split-complementary
#8A39A5 #8AA539 #39A554
monochromatic
#3E1A4A #642978 #8A39A5 #A956C5 #C084D4

Accessibility & contrast

On white

6.54
#8A39A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8A39A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A39A5
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A39A5#FFFFFF#000000##FFFFFF
##8A39A51.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F58A8
Deuteranopia (green-blind)
#3A60A2
Tritanopia (blue-blind)
#894D6A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a39a5;
/* rgb */ color: rgb(138, 57, 165);
/* oklch */ color: oklch(50.2% 0.177 316.6);
Tailwind
colors: {
  custom: {
    50: '#af75c0',
    500: '#8a39a5',
    950: '#000000',
  },
}
SCSS
$custom: #8a39a5;
$custom-light: #af75c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a39a5",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 165
  },
  "hsl": {
    "h": 285,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50193,
    "c": 0.17666,
    "h": 316.6
  },
  "luminance": 0.11046
}

Semantic roles & 50–950 ramp

primary
#8A39A5
secondary
#8CBE7B
accent
#D85072
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8A39A5

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

Preview Lab → · Contrast checker → · Palette generator →

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