#894E8B#894E8B

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

Color values

HEX#894E8B
RGBrgb(137, 78, 139)
HSLhsl(298, 28%, 43%)
HSVhsv(298, 44%, 55%)
CMYKcmyk(1.4%, 43.9%, 0%, 45.5%)
CIE-LABlab(42.20, 34.65, -23.61)
CIE-LCHlch(42.20, 41.93, 325.73°)
OKLaboklab(51.59% 0.0955 -0.0646)
OKLCHoklch(51.59% 0.115 325.9)
XYZxyz(17.7007, 12.6320, 25.9269)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894E8B #508B4E
analogous
#6B4E8B #894E8B #8B4E6E
triadic
#894E8B #8B894E #4E8B89
tetradic
#894E8B #8B6B4E #508B4E #4E6E8B
square
#894E8B #8B6B4E #508B4E #4E6E8B
split-complementary
#894E8B #6E8B4E #4E8B6B
monochromatic
#3C223D #623864 #894E8B #AA6BAC #C092C2

Accessibility & contrast

On white

5.96
#894E8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#894E8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894E8B
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894E8B#FFFFFF#000000##FFFFFF
##894E8B1.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)
#485F8D
Deuteranopia (green-blind)
#586689
Tritanopia (blue-blind)
#8C5466
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #894e8b;
/* rgb */ color: rgb(137, 78, 139);
/* oklch */ color: oklch(51.6% 0.115 325.9);
Tailwind
colors: {
  custom: {
    50: '#ad81ad',
    500: '#894e8b',
    950: '#000000',
  },
}
SCSS
$custom: #894e8b;
$custom-light: #ad81ad;
$custom-dark: #000000;
JSON
{
  "hex": "#894e8b",
  "rgb": {
    "r": 137,
    "g": 78,
    "b": 139
  },
  "hsl": {
    "h": 298.033,
    "s": 28.111,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51588,
    "c": 0.11527,
    "h": 325.9
  },
  "luminance": 0.12631
}

Semantic roles & 50–950 ramp

primary
#894E8B
secondary
#88AE87
accent
#C46367
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #894E8B

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

Preview Lab → · Contrast checker → · Palette generator →

#894E8B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva