#894E9B#894E9B

#894E9B is a mid, vivid purple. Relative luminance 0.131; OKLCH L 52.4% C 0.133 H 317.9°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#894E9B
RGBrgb(137, 78, 155)
HSLhsl(286, 33%, 46%)
HSVhsv(286, 50%, 61%)
CMYKcmyk(11.6%, 49.7%, 0%, 39.2%)
CIE-LABlab(42.96, 37.97, -32.05)
CIE-LCHlch(42.96, 49.69, 319.83°)
OKLaboklab(52.4% 0.0983 -0.0888)
OKLCHoklch(52.4% 0.133 317.9)
XYZxyz(18.9565, 13.1343, 32.5406)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894E9B #609B4E
analogous
#624E9B #894E9B #9B4E86
triadic
#894E9B #9B894E #4E9B89
tetradic
#894E9B #9B624E #609B4E #4E869B
square
#894E9B #9B624E #609B4E #4E869B
split-complementary
#894E9B #869B4E #4E9B62
monochromatic
#41254A #653A72 #894E9B #A66FB7 #BF98CB

Accessibility & contrast

On white

5.79
#894E9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#894E9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894E9B
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894E9B#FFFFFF#000000##FFFFFF
##894E9B1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40629E
Deuteranopia (green-blind)
#516799
Tritanopia (blue-blind)
#89596D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #894e9b;
/* rgb */ color: rgb(137, 78, 155);
/* oklch */ color: oklch(52.4% 0.133 317.9);
Tailwind
colors: {
  custom: {
    50: '#ad81b9',
    500: '#894e9b',
    950: '#000000',
  },
}
SCSS
$custom: #894e9b;
$custom-light: #ad81b9;
$custom-dark: #000000;
JSON
{
  "hex": "#894e9b",
  "rgb": {
    "r": 137,
    "g": 78,
    "b": 155
  },
  "hsl": {
    "h": 285.974,
    "s": 33.047,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52404,
    "c": 0.13252,
    "h": 317.9
  },
  "luminance": 0.13134
}

Semantic roles & 50–950 ramp

primary
#894E9B
secondary
#97B88D
accent
#C95F78
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #894E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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