#8A409C#8A409C

#8A409C is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.5% C 0.157 H 319.4°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8A409C
RGBrgb(138, 64, 156)
HSLhsl(288, 42%, 43%)
HSVhsv(288, 59%, 61%)
CMYKcmyk(11.5%, 59%, 0%, 38.8%)
CIE-LABlab(40.36, 45.85, -36.75)
CIE-LCHlch(40.36, 58.76, 321.29°)
OKLaboklab(50.54% 0.1194 -0.1024)
OKLCHoklch(50.54% 0.157 319.4)
XYZxyz(18.3146, 11.4711, 32.6955)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A409C #529C40
analogous
#5C409C #8A409C #9C4080
triadic
#8A409C #9C8A40 #409C8A
tetradic
#8A409C #9C5C40 #529C40 #40809C
square
#8A409C #9C5C40 #529C40 #40809C
split-complementary
#8A409C #809C40 #409C5C
monochromatic
#3D1C45 #642E71 #8A409C #AA5DBC #C188CE

Accessibility & contrast

On white

6.38
#8A409C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A409C
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A409C#FFFFFF#000000##FFFFFF
##8A409C1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5A9F
Deuteranopia (green-blind)
#46629A
Tritanopia (blue-blind)
#8A4E68
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a409c;
/* rgb */ color: rgb(138, 64, 156);
/* oklch */ color: oklch(50.5% 0.157 319.4);
Tailwind
colors: {
  custom: {
    50: '#af79b9',
    500: '#8a409c',
    950: '#000000',
  },
}
SCSS
$custom: #8a409c;
$custom-light: #af79b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a409c",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 156
  },
  "hsl": {
    "h": 288.261,
    "s": 41.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50535,
    "c": 0.15728,
    "h": 319.4
  },
  "luminance": 0.1147
}

Semantic roles & 50–950 ramp

primary
#8A409C
secondary
#8AB97F
accent
#D2566E
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A409C

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

Preview Lab → · Contrast checker → · Palette generator →

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