#8A4394#8A4394

#8A4394 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 50.5% C 0.144 H 322.6°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#8A4394
RGBrgb(138, 67, 148)
HSLhsl(293, 38%, 42%)
HSVhsv(293, 55%, 58%)
CMYKcmyk(6.8%, 54.7%, 0%, 42%)
CIE-LABlab(40.50, 42.70, -31.71)
CIE-LCHlch(40.50, 53.18, 323.40°)
OKLaboklab(50.5% 0.1146 -0.0877)
OKLCHoklch(50.5% 0.144 322.6)
XYZxyz(17.8331, 11.5565, 29.3025)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4394 #4D9443
analogous
#624394 #8A4394 #944375
triadic
#8A4394 #948A43 #43948A
tetradic
#8A4394 #946243 #4D9443 #437594
square
#8A4394 #946243 #4D9443 #437594
split-complementary
#8A4394 #759443 #439462
monochromatic
#3B1D40 #63306A #8A4394 #AB5EB6 #C188C9

Accessibility & contrast

On white

6.34
#8A4394 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8A4394 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4394
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4394#FFFFFF#000000##FFFFFF
##8A43941.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365A97
Deuteranopia (green-blind)
#4D6292
Tritanopia (blue-blind)
#8C4E65
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a4394;
/* rgb */ color: rgb(138, 67, 148);
/* oklch */ color: oklch(50.5% 0.144 322.6);
Tailwind
colors: {
  custom: {
    50: '#ae7ab4',
    500: '#8a4394',
    950: '#000000',
  },
}
SCSS
$custom: #8a4394;
$custom-light: #ae7ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4394",
  "rgb": {
    "r": 138,
    "g": 67,
    "b": 148
  },
  "hsl": {
    "h": 292.593,
    "s": 37.674,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50498,
    "c": 0.14433,
    "h": 322.6
  },
  "luminance": 0.11556
}

Semantic roles & 50–950 ramp

primary
#8A4394
secondary
#85B47F
accent
#CE5A68
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A4394

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

Preview Lab → · Contrast checker → · Palette generator →

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