#8A39AF#8A39AF

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

Color values

HEX#8A39AF
RGBrgb(138, 57, 175)
HSLhsl(281, 51%, 45%)
HSVhsv(281, 67%, 69%)
CMYKcmyk(21.1%, 67.4%, 0%, 31.4%)
CIE-LABlab(40.29, 53.19, -48.21)
CIE-LCHlch(40.29, 71.79, 317.81°)
OKLaboklab(50.85% 0.1279 -0.1358)
OKLCHoklch(50.85% 0.187 313.3)
XYZxyz(19.6809, 11.4253, 41.7177)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A39AF #5EAF39
analogous
#4F39AF #8A39AF #AF3999
triadic
#8A39AF #AF8A39 #39AF8A
tetradic
#8A39AF #AF4F39 #5EAF39 #3999AF
square
#8A39AF #AF4F39 #5EAF39 #3999AF
split-complementary
#8A39AF #99AF39 #39AF4F
monochromatic
#411B53 #662A81 #8A39AF #A75BCA #C08AD9

Accessibility & contrast

On white

6.39
#8A39AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8A39AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A39AF
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A39AF#FFFFFF#000000##FFFFFF
##8A39AF1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#3161AC
Tritanopia (blue-blind)
#86516F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a39af;
/* rgb */ color: rgb(138, 57, 175);
/* oklch */ color: oklch(50.8% 0.187 313.3);
Tailwind
colors: {
  custom: {
    50: '#b075c7',
    500: '#8a39af',
    950: '#000000',
  },
}
SCSS
$custom: #8a39af;
$custom-light: #b075c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a39af",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 281.186,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50847,
    "c": 0.18658,
    "h": 313.3
  },
  "luminance": 0.11425
}

Semantic roles & 50–950 ramp

primary
#8A39AF
secondary
#96C381
accent
#DA4D7A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8A39AF

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

Preview Lab → · Contrast checker → · Palette generator →

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