#8A39A8#8A39A8

#8A39A8 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.4% C 0.180 H 315.6°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#8A39A8
RGBrgb(138, 57, 168)
HSLhsl(284, 49%, 44%)
HSVhsv(284, 66%, 66%)
CMYKcmyk(17.9%, 66.1%, 0%, 34.1%)
CIE-LABlab(39.84, 51.70, -44.76)
CIE-LCHlch(39.84, 68.39, 319.11°)
OKLaboklab(50.39% 0.1283 -0.1257)
OKLCHoklch(50.39% 0.18 315.6)
XYZxyz(19.0111, 11.1574, 38.1903)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A39A8 #57A839
analogous
#5339A8 #8A39A8 #A8398F
triadic
#8A39A8 #A88A39 #39A88A
tetradic
#8A39A8 #A85339 #57A839 #398FA8
square
#8A39A8 #A85339 #57A839 #398FA8
split-complementary
#8A39A8 #8FA839 #39A853
monochromatic
#3F1A4D #64297A #8A39A8 #A858C6 #C086D6

Accessibility & contrast

On white

6.50
#8A39A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8A39A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A39A8
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A39A8#FFFFFF#000000##FFFFFF
##8A39A81.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0559AB
Deuteranopia (green-blind)
#3860A5
Tritanopia (blue-blind)
#884E6B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a39a8;
/* rgb */ color: rgb(138, 57, 168);
/* oklch */ color: oklch(50.4% 0.180 315.6);
Tailwind
colors: {
  custom: {
    50: '#af75c2',
    500: '#8a39a8',
    950: '#000000',
  },
}
SCSS
$custom: #8a39a8;
$custom-light: #af75c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a39a8",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 168
  },
  "hsl": {
    "h": 283.784,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50386,
    "c": 0.17963,
    "h": 315.6
  },
  "luminance": 0.11157
}

Semantic roles & 50–950 ramp

primary
#8A39A8
secondary
#8FC07D
accent
#D94F74
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110912
muted
#807B81

Preview Lab

Preview with #8A39A8

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

Preview Lab → · Contrast checker → · Palette generator →

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