#8A4E93#8A4E93

#8A4E93 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 52.1% C 0.124 H 322.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8A4E93
RGBrgb(138, 78, 147)
HSLhsl(292, 31%, 44%)
HSVhsv(292, 47%, 58%)
CMYKcmyk(6.1%, 46.9%, 0%, 42.4%)
CIE-LABlab(42.70, 36.59, -27.66)
CIE-LCHlch(42.70, 45.87, 322.92°)
OKLaboklab(52.11% 0.0983 -0.0762)
OKLCHoklch(52.11% 0.124 322.2)
XYZxyz(18.4715, 12.9594, 29.1265)
Luminance0.1296 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4E93 #57934E
analogous
#684E93 #8A4E93 #934E7A
triadic
#8A4E93 #938A4E #4E938A
tetradic
#8A4E93 #93684E #57934E #4E7A93
square
#8A4E93 #93684E #57934E #4E7A93
split-complementary
#8A4E93 #7A934E #4E9368
monochromatic
#3F2443 #64396B #8A4E93 #A86DB1 #C095C7

Accessibility & contrast

On white

5.85
#8A4E93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8A4E93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4E93
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4E93#FFFFFF#000000##FFFFFF
##8A4E931.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456095
Deuteranopia (green-blind)
#566791
Tritanopia (blue-blind)
#8C5669
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a4e93;
/* rgb */ color: rgb(138, 78, 147);
/* oklch */ color: oklch(52.1% 0.124 322.2);
Tailwind
colors: {
  custom: {
    50: '#ae81b3',
    500: '#8a4e93',
    950: '#000000',
  },
}
SCSS
$custom: #8a4e93;
$custom-light: #ae81b3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4e93",
  "rgb": {
    "r": 138,
    "g": 78,
    "b": 147
  },
  "hsl": {
    "h": 292.174,
    "s": 30.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52109,
    "c": 0.12434,
    "h": 322.2
  },
  "luminance": 0.12959
}

Semantic roles & 50–950 ramp

primary
#8A4E93
secondary
#8FB38A
accent
#C7616E
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #8A4E93

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

Preview Lab → · Contrast checker → · Palette generator →

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