#8A4E88#8A4E88

#8A4E88 is a mid, moderate purple. Relative luminance 0.126; OKLCH L 51.6% C 0.113 H 328.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8A4E88
RGBrgb(138, 78, 136)
HSLhsl(302, 28%, 42%)
HSVhsv(302, 43%, 54%)
CMYKcmyk(0%, 43.5%, 1.4%, 45.9%)
CIE-LABlab(42.20, 34.39, -21.79)
CIE-LCHlch(42.20, 40.71, 327.64°)
OKLaboklab(51.57% 0.096 -0.0594)
OKLCHoklch(51.57% 0.113 328.3)
XYZxyz(17.6493, 12.6305, 24.7961)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4E88 #4E8A50
analogous
#6E4E8A #8A4E88 #8A4E6A
triadic
#8A4E88 #888A4E #4E888A
tetradic
#8A4E88 #8A6E4E #4E8A50 #4E6A8A
square
#8A4E88 #8A6E4E #4E8A50 #4E6A8A
split-complementary
#8A4E88 #6A8A4E #4E8A6E
monochromatic
#3C223B #633861 #8A4E88 #AB6AA9 #C191BF

Accessibility & contrast

On white

5.96
#8A4E88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A4E88
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4E88#FFFFFF#000000##FFFFFF
##8A4E881.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5F8A
Deuteranopia (green-blind)
#5A6686
Tritanopia (blue-blind)
#8E5364
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a4e88;
/* rgb */ color: rgb(138, 78, 136);
/* oklch */ color: oklch(51.6% 0.113 328.3);
Tailwind
colors: {
  custom: {
    50: '#ad81ab',
    500: '#8a4e88',
    950: '#000000',
  },
}
SCSS
$custom: #8a4e88;
$custom-light: #ad81ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4e88",
  "rgb": {
    "r": 138,
    "g": 78,
    "b": 136
  },
  "hsl": {
    "h": 302,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51571,
    "c": 0.11291,
    "h": 328.3
  },
  "luminance": 0.1263
}

Semantic roles & 50–950 ramp

primary
#8A4E88
secondary
#86AE88
accent
#C46764
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #8A4E88

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

Preview Lab → · Contrast checker → · Palette generator →

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