#894E8D#894E8D

#894E8D is a mid, moderate purple. Relative luminance 0.127; OKLCH L 51.7% C 0.117 H 324.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#894E8D
RGBrgb(137, 78, 141)
HSLhsl(296, 29%, 43%)
HSVhsv(296, 45%, 55%)
CMYKcmyk(2.8%, 44.7%, 0%, 44.7%)
CIE-LABlab(42.29, 35.06, -24.68)
CIE-LCHlch(42.29, 42.87, 324.85°)
OKLaboklab(51.69% 0.0959 -0.0677)
OKLCHoklch(51.69% 0.117 324.8)
XYZxyz(17.8482, 12.6910, 26.7036)
Luminance0.1269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894E8D #528D4E
analogous
#694E8D #894E8D #8D4E72
triadic
#894E8D #8D894E #4E8D89
tetradic
#894E8D #8D694E #528D4E #4E728D
square
#894E8D #8D694E #528D4E #4E728D
split-complementary
#894E8D #728D4E #4E8D69
monochromatic
#3C223E #633866 #894E8D #A96BAD #C092C3

Accessibility & contrast

On white

5.94
#894E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#894E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894E8D
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894E8D#FFFFFF#000000##FFFFFF
##894E8D1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475F8F
Deuteranopia (green-blind)
#58668B
Tritanopia (blue-blind)
#8C5567
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #894e8d;
/* rgb */ color: rgb(137, 78, 141);
/* oklch */ color: oklch(51.7% 0.117 324.8);
Tailwind
colors: {
  custom: {
    50: '#ad81ae',
    500: '#894e8d',
    950: '#000000',
  },
}
SCSS
$custom: #894e8d;
$custom-light: #ad81ae;
$custom-dark: #000000;
JSON
{
  "hex": "#894e8d",
  "rgb": {
    "r": 137,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 296.19,
    "s": 28.767,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51685,
    "c": 0.11736,
    "h": 324.8
  },
  "luminance": 0.1269
}

Semantic roles & 50–950 ramp

primary
#894E8D
secondary
#8AAF87
accent
#C56369
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #894E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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