#8A409E#8A409E

#8A409E is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.7% C 0.159 H 318.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8A409E
RGBrgb(138, 64, 158)
HSLhsl(287, 42%, 44%)
HSVhsv(287, 59%, 62%)
CMYKcmyk(12.7%, 59.5%, 0%, 38%)
CIE-LABlab(40.47, 46.27, -37.78)
CIE-LCHlch(40.47, 59.73, 320.77°)
OKLaboklab(50.65% 0.1195 -0.1053)
OKLCHoklch(50.65% 0.159 318.6)
XYZxyz(18.4854, 11.5394, 33.5947)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A409E #549E40
analogous
#5B409E #8A409E #9E4083
triadic
#8A409E #9E8A40 #409E8A
tetradic
#8A409E #9E5B40 #549E40 #40839E
square
#8A409E #9E5B40 #549E40 #40839E
split-complementary
#8A409E #839E40 #409E5B
monochromatic
#3E1D47 #642E72 #8A409E #A95EBE #C089CF

Accessibility & contrast

On white

6.35
#8A409E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8A409E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A409E
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A409E#FFFFFF#000000##FFFFFF
##8A409E1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295AA1
Deuteranopia (green-blind)
#45629C
Tritanopia (blue-blind)
#8A4F69
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a409e;
/* rgb */ color: rgb(138, 64, 158);
/* oklch */ color: oklch(50.7% 0.159 318.6);
Tailwind
colors: {
  custom: {
    50: '#af79bb',
    500: '#8a409e',
    950: '#000000',
  },
}
SCSS
$custom: #8a409e;
$custom-light: #af79bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a409e",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 158
  },
  "hsl": {
    "h": 287.234,
    "s": 42.342,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50652,
    "c": 0.15931,
    "h": 318.6
  },
  "luminance": 0.11539
}

Semantic roles & 50–950 ramp

primary
#8A409E
secondary
#8CBA80
accent
#D25670
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8A409E

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

Preview Lab → · Contrast checker → · Palette generator →

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