#894E97#894E97

#894E97 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 52.2% C 0.128 H 319.7°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#894E97
RGBrgb(137, 78, 151)
HSLhsl(288, 32%, 45%)
HSVhsv(288, 48%, 59%)
CMYKcmyk(9.3%, 48.3%, 0%, 40.8%)
CIE-LABlab(42.77, 37.12, -29.97)
CIE-LCHlch(42.77, 47.71, 321.08°)
OKLaboklab(52.19% 0.0977 -0.0828)
OKLCHoklch(52.19% 0.128 319.7)
XYZxyz(18.6261, 13.0022, 30.8007)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894E97 #5C974E
analogous
#644E97 #894E97 #974E81
triadic
#894E97 #97894E #4E9789
tetradic
#894E97 #97644E #5C974E #4E8197
square
#894E97 #97644E #5C974E #4E8197
split-complementary
#894E97 #81974E #4E9764
monochromatic
#402446 #64396F #894E97 #A76EB4 #BF96C9

Accessibility & contrast

On white

5.83
#894E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#894E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894E97
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894E97#FFFFFF#000000##FFFFFF
##894E971.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42619A
Deuteranopia (green-blind)
#536795
Tritanopia (blue-blind)
#8A586B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #894e97;
/* rgb */ color: rgb(137, 78, 151);
/* oklch */ color: oklch(52.2% 0.128 319.7);
Tailwind
colors: {
  custom: {
    50: '#ad81b6',
    500: '#894e97',
    950: '#000000',
  },
}
SCSS
$custom: #894e97;
$custom-light: #ad81b6;
$custom-dark: #000000;
JSON
{
  "hex": "#894e97",
  "rgb": {
    "r": 137,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 288.493,
    "s": 31.878,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52192,
    "c": 0.1281,
    "h": 319.7
  },
  "luminance": 0.13002
}

Semantic roles & 50–950 ramp

primary
#894E97
secondary
#93B68B
accent
#C86074
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #894E97

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

Preview Lab → · Contrast checker → · Palette generator →

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