#8A4E91#8A4E91

#8A4E91 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 52.0% C 0.122 H 323.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8A4E91
RGBrgb(138, 78, 145)
HSLhsl(294, 30%, 44%)
HSVhsv(294, 46%, 57%)
CMYKcmyk(4.8%, 46.2%, 0%, 43.1%)
CIE-LABlab(42.61, 36.18, -26.60)
CIE-LCHlch(42.61, 44.91, 323.68°)
OKLaboklab(52.01% 0.0979 -0.0731)
OKLCHoklch(52.01% 0.122 323.2)
XYZxyz(18.3159, 12.8972, 28.3072)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4E91 #55914E
analogous
#684E91 #8A4E91 #914E76
triadic
#8A4E91 #918A4E #4E918A
tetradic
#8A4E91 #91684E #55914E #4E7691
square
#8A4E91 #91684E #55914E #4E7691
split-complementary
#8A4E91 #76914E #4E9168
monochromatic
#3E2341 #643969 #8A4E91 #A96CB0 #C094C5

Accessibility & contrast

On white

5.87
#8A4E91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8A4E91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4E91
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4E91#FFFFFF#000000##FFFFFF
##8A4E911.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466093
Deuteranopia (green-blind)
#57678F
Tritanopia (blue-blind)
#8C5669
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a4e91;
/* rgb */ color: rgb(138, 78, 145);
/* oklch */ color: oklch(52.0% 0.122 323.2);
Tailwind
colors: {
  custom: {
    50: '#ae81b1',
    500: '#8a4e91',
    950: '#000000',
  },
}
SCSS
$custom: #8a4e91;
$custom-light: #ae81b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4e91",
  "rgb": {
    "r": 138,
    "g": 78,
    "b": 145
  },
  "hsl": {
    "h": 293.731,
    "s": 30.045,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52008,
    "c": 0.12221,
    "h": 323.2
  },
  "luminance": 0.12896
}

Semantic roles & 50–950 ramp

primary
#8A4E91
secondary
#8DB289
accent
#C6626C
background
#FAF8FA
surface
#F4EFF5
border
#CECACF
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #8A4E91

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

Preview Lab → · Contrast checker → · Palette generator →

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