#8A4E99#8A4E99

#8A4E99 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 52.4% C 0.131 H 319.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8A4E99
RGBrgb(138, 78, 153)
HSLhsl(288, 32%, 45%)
HSVhsv(288, 49%, 60%)
CMYKcmyk(9.8%, 49%, 0%, 40%)
CIE-LABlab(42.99, 37.84, -30.80)
CIE-LCHlch(42.99, 48.80, 320.86°)
OKLaboklab(52.42% 0.0993 -0.0852)
OKLCHoklch(52.42% 0.131 319.4)
XYZxyz(18.9547, 13.1527, 31.6711)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4E99 #5D994E
analogous
#644E99 #8A4E99 #994E82
triadic
#8A4E99 #998A4E #4E998A
tetradic
#8A4E99 #99644E #5D994E #4E8299
square
#8A4E99 #99644E #5D994E #4E8299
split-complementary
#8A4E99 #82994E #4E9964
monochromatic
#412548 #653970 #8A4E99 #A76FB5 #C097CA

Accessibility & contrast

On white

5.78
#8A4E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#8A4E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4E99
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4E99#FFFFFF#000000##FFFFFF
##8A4E991.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41619C
Deuteranopia (green-blind)
#536897
Tritanopia (blue-blind)
#8B586C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a4e99;
/* rgb */ color: rgb(138, 78, 153);
/* oklch */ color: oklch(52.4% 0.131 319.4);
Tailwind
colors: {
  custom: {
    50: '#ae82b7',
    500: '#8a4e99',
    950: '#000000',
  },
}
SCSS
$custom: #8a4e99;
$custom-light: #ae82b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4e99",
  "rgb": {
    "r": 138,
    "g": 78,
    "b": 153
  },
  "hsl": {
    "h": 288,
    "s": 32.468,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5242,
    "c": 0.13084,
    "h": 319.4
  },
  "luminance": 0.13152
}

Semantic roles & 50–950 ramp

primary
#8A4E99
secondary
#95B78C
accent
#C95F74
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #8A4E99

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

Preview Lab → · Contrast checker → · Palette generator →

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