#8A4099#8A4099

#8A4099 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.4% C 0.154 H 320.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8A4099
RGBrgb(138, 64, 153)
HSLhsl(290, 41%, 43%)
HSVhsv(290, 58%, 60%)
CMYKcmyk(9.8%, 58.2%, 0%, 40%)
CIE-LABlab(40.20, 45.24, -35.21)
CIE-LCHlch(40.20, 57.32, 322.11°)
OKLaboklab(50.36% 0.1192 -0.0979)
OKLCHoklch(50.36% 0.154 320.6)
XYZxyz(18.0637, 11.3708, 31.3741)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4099 #4F9940
analogous
#5E4099 #8A4099 #99407B
triadic
#8A4099 #998A40 #40998A
tetradic
#8A4099 #995E40 #4F9940 #407B99
square
#8A4099 #995E40 #4F9940 #407B99
split-complementary
#8A4099 #7B9940 #40995E
monochromatic
#3C1C43 #632E6E #8A4099 #AB5CBB #C187CD

Accessibility & contrast

On white

6.41
#8A4099 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8A4099 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4099
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4099#FFFFFF#000000##FFFFFF
##8A40991.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E599C
Deuteranopia (green-blind)
#486197
Tritanopia (blue-blind)
#8B4D66
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a4099;
/* rgb */ color: rgb(138, 64, 153);
/* oklch */ color: oklch(50.4% 0.154 320.6);
Tailwind
colors: {
  custom: {
    50: '#ae79b7',
    500: '#8a4099',
    950: '#000000',
  },
}
SCSS
$custom: #8a4099;
$custom-light: #ae79b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4099",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 153
  },
  "hsl": {
    "h": 289.888,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50361,
    "c": 0.15424,
    "h": 320.6
  },
  "luminance": 0.1137
}

Semantic roles & 50–950 ramp

primary
#8A4099
secondary
#87B77E
accent
#D1576B
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A4099

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

Preview Lab → · Contrast checker → · Palette generator →

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