#8A409D#8A409D

#8A409D is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.6% C 0.158 H 319.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#8A409D
RGBrgb(138, 64, 157)
HSLhsl(288, 42%, 43%)
HSVhsv(288, 59%, 62%)
CMYKcmyk(12.1%, 59.2%, 0%, 38.4%)
CIE-LABlab(40.42, 46.06, -37.26)
CIE-LCHlch(40.42, 59.24, 321.02°)
OKLaboklab(50.59% 0.1195 -0.1038)
OKLCHoklch(50.59% 0.158 319)
XYZxyz(18.3996, 11.5052, 33.1433)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A409D #539D40
analogous
#5B409D #8A409D #9D4081
triadic
#8A409D #9D8A40 #409D8A
tetradic
#8A409D #9D5B40 #539D40 #40819D
square
#8A409D #9D5B40 #539D40 #40819D
split-complementary
#8A409D #819D40 #409D5B
monochromatic
#3E1D46 #642E72 #8A409D #A95DBD #C089CF

Accessibility & contrast

On white

6.36
#8A409D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8A409D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A409D
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A409D#FFFFFF#000000##FFFFFF
##8A409D1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5AA0
Deuteranopia (green-blind)
#46629B
Tritanopia (blue-blind)
#8A4F68
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a409d;
/* rgb */ color: rgb(138, 64, 157);
/* oklch */ color: oklch(50.6% 0.158 319.0);
Tailwind
colors: {
  custom: {
    50: '#af79ba',
    500: '#8a409d',
    950: '#000000',
  },
}
SCSS
$custom: #8a409d;
$custom-light: #af79ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a409d",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 157
  },
  "hsl": {
    "h": 287.742,
    "s": 42.081,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50593,
    "c": 0.15829,
    "h": 319
  },
  "luminance": 0.11504
}

Semantic roles & 50–950 ramp

primary
#8A409D
secondary
#8BB97F
accent
#D2566F
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8A409D

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

Preview Lab → · Contrast checker → · Palette generator →

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