#8A4E89#8A4E89

#8A4E89 is a mid, moderate purple. Relative luminance 0.127; OKLCH L 51.6% C 0.114 H 327.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8A4E89
RGBrgb(138, 78, 137)
HSLhsl(301, 28%, 42%)
HSVhsv(301, 43%, 54%)
CMYKcmyk(0%, 43.5%, 0.7%, 45.9%)
CIE-LABlab(42.24, 34.58, -22.33)
CIE-LCHlch(42.24, 41.16, 327.15°)
OKLaboklab(51.62% 0.0963 -0.0609)
OKLCHoklch(51.62% 0.114 327.7)
XYZxyz(17.7207, 12.6591, 25.1721)
Luminance0.1266 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4E89 #4E8A4F
analogous
#6D4E8A #8A4E89 #8A4E6B
triadic
#8A4E89 #898A4E #4E898A
tetradic
#8A4E89 #8A6D4E #4E8A4F #4E6B8A
square
#8A4E89 #8A6D4E #4E8A4F #4E6B8A
split-complementary
#8A4E89 #6B8A4E #4E8A6D
monochromatic
#3C223B #633862 #8A4E89 #AB6AAA #C191C0

Accessibility & contrast

On white

5.95
#8A4E89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8A4E89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4E89
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4E89#FFFFFF#000000##FFFFFF
##8A4E891.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5F8B
Deuteranopia (green-blind)
#5A6787
Tritanopia (blue-blind)
#8E5465
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a4e89;
/* rgb */ color: rgb(138, 78, 137);
/* oklch */ color: oklch(51.6% 0.114 327.7);
Tailwind
colors: {
  custom: {
    50: '#ad81ab',
    500: '#8a4e89',
    950: '#000000',
  },
}
SCSS
$custom: #8a4e89;
$custom-light: #ad81ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4e89",
  "rgb": {
    "r": 138,
    "g": 78,
    "b": 137
  },
  "hsl": {
    "h": 301,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51618,
    "c": 0.11391,
    "h": 327.7
  },
  "luminance": 0.12658
}

Semantic roles & 50–950 ramp

primary
#8A4E89
secondary
#86AE87
accent
#C46564
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #8A4E89

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

Preview Lab → · Contrast checker → · Palette generator →

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