#8A4093#8A4093

#8A4093 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.0% C 0.148 H 323.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#8A4093
RGBrgb(138, 64, 147)
HSLhsl(293, 39%, 41%)
HSVhsv(293, 56%, 58%)
CMYKcmyk(6.1%, 56.5%, 0%, 42.4%)
CIE-LABlab(39.88, 44.03, -32.09)
CIE-LCHlch(39.88, 54.48, 323.92°)
OKLaboklab(50.02% 0.1187 -0.0888)
OKLCHoklch(50.02% 0.148 323.2)
XYZxyz(17.5806, 11.1775, 28.8296)
Luminance0.1118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4093 #499340
analogous
#614093 #8A4093 #934073
triadic
#8A4093 #938A40 #40938A
tetradic
#8A4093 #936140 #499340 #407393
square
#8A4093 #936140 #499340 #407393
split-complementary
#8A4093 #739340 #409361
monochromatic
#3A1B3E #622D68 #8A4093 #AD59B7 #C284C9

Accessibility & contrast

On white

6.49
#8A4093 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A4093
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4093#FFFFFF#000000##FFFFFF
##8A40931.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335896
Deuteranopia (green-blind)
#4B6191
Tritanopia (blue-blind)
#8C4B63
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a4093;
/* rgb */ color: rgb(138, 64, 147);
/* oklch */ color: oklch(50.0% 0.148 323.2);
Tailwind
colors: {
  custom: {
    50: '#ae79b3',
    500: '#8a4093',
    950: '#000000',
  },
}
SCSS
$custom: #8a4093;
$custom-light: #ae79b3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4093",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 147
  },
  "hsl": {
    "h": 293.494,
    "s": 39.336,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50022,
    "c": 0.14824,
    "h": 323.2
  },
  "luminance": 0.11177
}

Semantic roles & 50–950 ramp

primary
#8A4093
secondary
#81B47B
accent
#CF5965
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A4093

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

Preview Lab → · Contrast checker → · Palette generator →

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