#894E9A#894E9A

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

Color values

HEX#894E9A
RGBrgb(137, 78, 154)
HSLhsl(287, 33%, 45%)
HSVhsv(287, 49%, 60%)
CMYKcmyk(11%, 49.4%, 0%, 39.6%)
CIE-LABlab(42.91, 37.76, -31.53)
CIE-LCHlch(42.91, 49.19, 320.13°)
OKLaboklab(52.35% 0.0982 -0.0873)
OKLCHoklch(52.35% 0.131 318.3)
XYZxyz(18.8729, 13.1009, 32.1002)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894E9A #5F9A4E
analogous
#634E9A #894E9A #9A4E85
triadic
#894E9A #9A894E #4E9A89
tetradic
#894E9A #9A634E #5F9A4E #4E859A
square
#894E9A #9A634E #5F9A4E #4E859A
split-complementary
#894E9A #859A4E #4E9A63
monochromatic
#412549 #653971 #894E9A #A66FB6 #BF98CB

Accessibility & contrast

On white

5.80
#894E9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#894E9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894E9A
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894E9A#FFFFFF#000000##FFFFFF
##894E9A1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41619D
Deuteranopia (green-blind)
#526798
Tritanopia (blue-blind)
#89596D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #894e9a;
/* rgb */ color: rgb(137, 78, 154);
/* oklch */ color: oklch(52.4% 0.131 318.3);
Tailwind
colors: {
  custom: {
    50: '#ad81b8',
    500: '#894e9a',
    950: '#000000',
  },
}
SCSS
$custom: #894e9a;
$custom-light: #ad81b8;
$custom-dark: #000000;
JSON
{
  "hex": "#894e9a",
  "rgb": {
    "r": 137,
    "g": 78,
    "b": 154
  },
  "hsl": {
    "h": 286.579,
    "s": 32.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52351,
    "c": 0.13141,
    "h": 318.3
  },
  "luminance": 0.131
}

Semantic roles & 50–950 ramp

primary
#894E9A
secondary
#96B78D
accent
#C95F77
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #894E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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