#8A3E82#8A3E82

#8A3E82 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 48.9% C 0.135 H 331.6°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8A3E82
RGBrgb(138, 62, 130)
HSLhsl(306, 38%, 39%)
HSVhsv(306, 55%, 54%)
CMYKcmyk(0%, 55.1%, 5.8%, 45.9%)
CIE-LABlab(38.66, 41.82, -23.62)
CIE-LCHlch(38.66, 48.02, 330.54°)
OKLaboklab(48.85% 0.1192 -0.0645)
OKLCHoklch(48.85% 0.135 331.6)
XYZxyz(16.2330, 10.4613, 22.2790)
Luminance0.1046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3E82 #3E8A46
analogous
#6C3E8A #8A3E82 #8A3E5C
triadic
#8A3E82 #828A3E #3E828A
tetradic
#8A3E82 #8A6C3E #3E8A46 #3E5C8A
square
#8A3E82 #8A6C3E #3E8A46 #3E5C8A
split-complementary
#8A3E82 #5C8A3E #3E8A6C
monochromatic
#361832 #602B5A #8A3E82 #B253A8 #C57EBD

Accessibility & contrast

On white

6.79
#8A3E82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8A3E82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3E82
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3E82#FFFFFF#000000##FFFFFF
##8A3E821.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5484
Deuteranopia (green-blind)
#525F80
Tritanopia (blue-blind)
#8F445A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a3e82;
/* rgb */ color: rgb(138, 62, 130);
/* oklch */ color: oklch(48.9% 0.135 331.6);
Tailwind
colors: {
  custom: {
    50: '#ae77a6',
    500: '#8a3e82',
    950: '#000000',
  },
}
SCSS
$custom: #8a3e82;
$custom-light: #ae77a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3e82",
  "rgb": {
    "r": 138,
    "g": 62,
    "b": 130
  },
  "hsl": {
    "h": 306.316,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4885,
    "c": 0.13547,
    "h": 331.6
  },
  "luminance": 0.1046
}

Semantic roles & 50–950 ramp

primary
#8A3E82
secondary
#75AF7B
accent
#CE665A
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#11090F
muted
#807B7F

Preview Lab

Preview with #8A3E82

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

Preview Lab → · Contrast checker → · Palette generator →

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