#8A39A3#8A39A3

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

Color values

HEX#8A39A3
RGBrgb(138, 57, 163)
HSLhsl(286, 48%, 43%)
HSVhsv(286, 65%, 64%)
CMYKcmyk(15.3%, 65%, 0%, 36.1%)
CIE-LABlab(39.54, 50.66, -42.26)
CIE-LCHlch(39.54, 65.98, 320.16°)
OKLaboklab(50.07% 0.1285 -0.1184)
OKLCHoklch(50.07% 0.175 317.3)
XYZxyz(18.5543, 10.9746, 35.7842)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A39A3 #52A339
analogous
#5539A3 #8A39A3 #A33987
triadic
#8A39A3 #A38A39 #39A38A
tetradic
#8A39A3 #A35539 #52A339 #3987A3
square
#8A39A3 #A35539 #52A339 #3987A3
split-complementary
#8A39A3 #87A339 #39A355
monochromatic
#3D1948 #642976 #8A39A3 #AA55C4 #C183D4

Accessibility & contrast

On white

6.57
#8A39A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8A39A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A39A3
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A39A3#FFFFFF#000000##FFFFFF
##8A39A31.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1358A6
Deuteranopia (green-blind)
#3C60A0
Tritanopia (blue-blind)
#894C69
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a39a3;
/* rgb */ color: rgb(138, 57, 163);
/* oklch */ color: oklch(50.1% 0.175 317.3);
Tailwind
colors: {
  custom: {
    50: '#af75bf',
    500: '#8a39a3',
    950: '#000000',
  },
}
SCSS
$custom: #8a39a3;
$custom-light: #af75bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a39a3",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 163
  },
  "hsl": {
    "h": 285.849,
    "s": 48.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50066,
    "c": 0.17469,
    "h": 317.3
  },
  "luminance": 0.10974
}

Semantic roles & 50–950 ramp

primary
#8A39A3
secondary
#8ABD7A
accent
#D85070
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8A39A3

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

Preview Lab → · Contrast checker → · Palette generator →

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