#8A39A4#8A39A4

#8A39A4 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.1% C 0.176 H 317.0°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8A39A4
RGBrgb(138, 57, 164)
HSLhsl(285, 48%, 43%)
HSVhsv(285, 65%, 64%)
CMYKcmyk(15.9%, 65.2%, 0%, 35.7%)
CIE-LABlab(39.60, 50.87, -42.77)
CIE-LCHlch(39.60, 66.46, 319.95°)
OKLaboklab(50.13% 0.1284 -0.1199)
OKLCHoklch(50.13% 0.176 317)
XYZxyz(18.6442, 11.0106, 36.2579)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A39A4 #53A439
analogous
#5539A4 #8A39A4 #A43988
triadic
#8A39A4 #A48A39 #39A48A
tetradic
#8A39A4 #A45539 #53A439 #3988A4
square
#8A39A4 #A45539 #53A439 #3988A4
split-complementary
#8A39A4 #88A439 #39A455
monochromatic
#3E1949 #642977 #8A39A4 #A956C4 #C083D4

Accessibility & contrast

On white

6.56
#8A39A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8A39A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A39A4
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A39A4#FFFFFF#000000##FFFFFF
##8A39A41.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1158A7
Deuteranopia (green-blind)
#3B60A1
Tritanopia (blue-blind)
#894C69
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a39a4;
/* rgb */ color: rgb(138, 57, 164);
/* oklch */ color: oklch(50.1% 0.176 317.0);
Tailwind
colors: {
  custom: {
    50: '#af75bf',
    500: '#8a39a4',
    950: '#000000',
  },
}
SCSS
$custom: #8a39a4;
$custom-light: #af75bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a39a4",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 164
  },
  "hsl": {
    "h": 285.421,
    "s": 48.416,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5013,
    "c": 0.17568,
    "h": 317
  },
  "luminance": 0.1101
}

Semantic roles & 50–950 ramp

primary
#8A39A4
secondary
#8BBE7B
accent
#D85071
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8A39A4

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

Preview Lab → · Contrast checker → · Palette generator →

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