#8A4091#8A4091

#8A4091 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 49.9% C 0.146 H 324.1°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8A4091
RGBrgb(138, 64, 145)
HSLhsl(295, 39%, 41%)
HSVhsv(295, 56%, 57%)
CMYKcmyk(4.8%, 55.9%, 0%, 43.1%)
CIE-LABlab(39.77, 43.64, -31.04)
CIE-LCHlch(39.77, 53.55, 324.58°)
OKLaboklab(49.91% 0.1185 -0.0858)
OKLCHoklch(49.91% 0.146 324.1)
XYZxyz(17.4250, 11.1153, 28.0102)
Luminance0.1111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4091 #479140
analogous
#614091 #8A4091 #91406F
triadic
#8A4091 #918A40 #40918A
tetradic
#8A4091 #916140 #479140 #406F91
square
#8A4091 #916140 #479140 #406F91
split-complementary
#8A4091 #6F9140 #409161
monochromatic
#391B3C #622D67 #8A4091 #AE59B6 #C283C8

Accessibility & contrast

On white

6.52
#8A4091 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8A4091 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4091
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4091#FFFFFF#000000##FFFFFF
##8A40911.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345894
Deuteranopia (green-blind)
#4C618F
Tritanopia (blue-blind)
#8D4B62
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a4091;
/* rgb */ color: rgb(138, 64, 145);
/* oklch */ color: oklch(49.9% 0.146 324.1);
Tailwind
colors: {
  custom: {
    50: '#ae79b1',
    500: '#8a4091',
    950: '#000000',
  },
}
SCSS
$custom: #8a4091;
$custom-light: #ae79b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4091",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 145
  },
  "hsl": {
    "h": 294.815,
    "s": 38.756,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49912,
    "c": 0.14627,
    "h": 324.1
  },
  "luminance": 0.11114
}

Semantic roles & 50–950 ramp

primary
#8A4091
secondary
#7FB37A
accent
#CF5963
background
#FAF7FA
surface
#F5EEF5
border
#CFC9CF
text
#110911
muted
#807B80

Preview Lab

Preview with #8A4091

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

Preview Lab → · Contrast checker → · Palette generator →

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