#8A4E94#8A4E94

#8A4E94 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 52.2% C 0.125 H 321.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8A4E94
RGBrgb(138, 78, 148)
HSLhsl(291, 31%, 44%)
HSVhsv(291, 47%, 58%)
CMYKcmyk(6.8%, 47.3%, 0%, 42%)
CIE-LABlab(42.75, 36.80, -28.18)
CIE-LCHlch(42.75, 46.35, 322.55°)
OKLaboklab(52.16% 0.0985 -0.0777)
OKLCHoklch(52.16% 0.125 321.7)
XYZxyz(18.5503, 12.9909, 29.5416)
Luminance0.1299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4E94 #58944E
analogous
#674E94 #8A4E94 #944E7B
triadic
#8A4E94 #948A4E #4E948A
tetradic
#8A4E94 #94674E #58944E #4E7B94
square
#8A4E94 #94674E #58944E #4E7B94
split-complementary
#8A4E94 #7B944E #4E9467
monochromatic
#3F2444 #65396C #8A4E94 #A86DB2 #C095C7

Accessibility & contrast

On white

5.84
#8A4E94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8A4E94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4E94
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4E94#FFFFFF#000000##FFFFFF
##8A4E941.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446196
Deuteranopia (green-blind)
#556792
Tritanopia (blue-blind)
#8C576A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a4e94;
/* rgb */ color: rgb(138, 78, 148);
/* oklch */ color: oklch(52.2% 0.125 321.7);
Tailwind
colors: {
  custom: {
    50: '#ae81b3',
    500: '#8a4e94',
    950: '#000000',
  },
}
SCSS
$custom: #8a4e94;
$custom-light: #ae81b3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4e94",
  "rgb": {
    "r": 138,
    "g": 78,
    "b": 148
  },
  "hsl": {
    "h": 291.429,
    "s": 30.973,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5216,
    "c": 0.12541,
    "h": 321.7
  },
  "luminance": 0.1299
}

Semantic roles & 50–950 ramp

primary
#8A4E94
secondary
#90B48A
accent
#C7616F
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #8A4E94

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

Preview Lab → · Contrast checker → · Palette generator →

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