#8A39AE#8A39AE

#8A39AE is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.8% C 0.186 H 313.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8A39AE
RGBrgb(138, 57, 174)
HSLhsl(282, 51%, 45%)
HSVhsv(282, 67%, 68%)
CMYKcmyk(20.7%, 67.2%, 0%, 31.8%)
CIE-LABlab(40.22, 52.97, -47.72)
CIE-LCHlch(40.22, 71.30, 317.98°)
OKLaboklab(50.78% 0.128 -0.1344)
OKLCHoklch(50.78% 0.186 313.6)
XYZxyz(19.5830, 11.3861, 41.2024)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A39AE #5DAE39
analogous
#4F39AE #8A39AE #AE3998
triadic
#8A39AE #AE8A39 #39AE8A
tetradic
#8A39AE #AE4F39 #5DAE39 #3998AE
square
#8A39AE #AE4F39 #5DAE39 #3998AE
split-complementary
#8A39AE #98AE39 #39AE4F
monochromatic
#411B52 #652A80 #8A39AE #A75BC9 #C089D8

Accessibility & contrast

On white

6.41
#8A39AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8A39AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A39AE
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A39AE#FFFFFF#000000##FFFFFF
##8A39AE1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#3261AB
Tritanopia (blue-blind)
#86506F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a39ae;
/* rgb */ color: rgb(138, 57, 174);
/* oklch */ color: oklch(50.8% 0.186 313.6);
Tailwind
colors: {
  custom: {
    50: '#b075c7',
    500: '#8a39ae',
    950: '#000000',
  },
}
SCSS
$custom: #8a39ae;
$custom-light: #b075c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a39ae",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 174
  },
  "hsl": {
    "h": 281.538,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5078,
    "c": 0.18559,
    "h": 313.6
  },
  "luminance": 0.11386
}

Semantic roles & 50–950 ramp

primary
#8A39AE
secondary
#95C380
accent
#DA4E79
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8A39AE

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

Preview Lab → · Contrast checker → · Palette generator →

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