#8A4094#8A4094

#8A4094 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.1% C 0.149 H 322.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8A4094
RGBrgb(138, 64, 148)
HSLhsl(293, 40%, 42%)
HSVhsv(293, 57%, 58%)
CMYKcmyk(6.8%, 56.8%, 0%, 42%)
CIE-LABlab(39.93, 44.23, -32.61)
CIE-LCHlch(39.93, 54.95, 323.60°)
OKLaboklab(50.08% 0.1188 -0.0903)
OKLCHoklch(50.08% 0.149 322.7)
XYZxyz(17.6594, 11.2091, 29.2446)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4094 #4A9440
analogous
#604094 #8A4094 #944074
triadic
#8A4094 #948A40 #40948A
tetradic
#8A4094 #946040 #4A9440 #407494
square
#8A4094 #946040 #4A9440 #407494
split-complementary
#8A4094 #749440 #409460
monochromatic
#3A1B3F #622E69 #8A4094 #AC5AB8 #C284CA

Accessibility & contrast

On white

6.48
#8A4094 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8A4094 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4094
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4094#FFFFFF#000000##FFFFFF
##8A40941.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325997
Deuteranopia (green-blind)
#4B6192
Tritanopia (blue-blind)
#8C4C64
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a4094;
/* rgb */ color: rgb(138, 64, 148);
/* oklch */ color: oklch(50.1% 0.149 322.7);
Tailwind
colors: {
  custom: {
    50: '#ae79b4',
    500: '#8a4094',
    950: '#000000',
  },
}
SCSS
$custom: #8a4094;
$custom-light: #ae79b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4094",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 148
  },
  "hsl": {
    "h": 292.857,
    "s": 39.623,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50078,
    "c": 0.14923,
    "h": 322.7
  },
  "luminance": 0.11208
}

Semantic roles & 50–950 ramp

primary
#8A4094
secondary
#82B47B
accent
#D05866
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A4094

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

Preview Lab → · Contrast checker → · Palette generator →

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