#8A39A7#8A39A7

#8A39A7 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.3% C 0.179 H 315.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#8A39A7
RGBrgb(138, 57, 167)
HSLhsl(284, 49%, 44%)
HSVhsv(284, 66%, 65%)
CMYKcmyk(17.4%, 65.9%, 0%, 34.5%)
CIE-LABlab(39.78, 51.49, -44.27)
CIE-LCHlch(39.78, 67.90, 319.32°)
OKLaboklab(50.32% 0.1284 -0.1242)
OKLCHoklch(50.32% 0.179 315.9)
XYZxyz(18.9183, 11.1202, 37.7016)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A39A7 #56A739
analogous
#5339A7 #8A39A7 #A7398D
triadic
#8A39A7 #A78A39 #39A78A
tetradic
#8A39A7 #A75339 #56A739 #398DA7
square
#8A39A7 #A75339 #56A739 #398DA7
split-complementary
#8A39A7 #8DA739 #39A753
monochromatic
#3F1A4C #642979 #8A39A7 #A957C6 #C085D5

Accessibility & contrast

On white

6.51
#8A39A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8A39A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A39A7
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A39A7#FFFFFF#000000##FFFFFF
##8A39A71.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0959AA
Deuteranopia (green-blind)
#3960A4
Tritanopia (blue-blind)
#884D6B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a39a7;
/* rgb */ color: rgb(138, 57, 167);
/* oklch */ color: oklch(50.3% 0.179 315.9);
Tailwind
colors: {
  custom: {
    50: '#af75c2',
    500: '#8a39a7',
    950: '#000000',
  },
}
SCSS
$custom: #8a39a7;
$custom-light: #af75c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a39a7",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 167
  },
  "hsl": {
    "h": 284.182,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50321,
    "c": 0.17864,
    "h": 315.9
  },
  "luminance": 0.1112
}

Semantic roles & 50–950 ramp

primary
#8A39A7
secondary
#8EBF7D
accent
#D94F73
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110912
muted
#807B81

Preview Lab

Preview with #8A39A7

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

Preview Lab → · Contrast checker → · Palette generator →

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