#894E98#894E98

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

Color values

HEX#894E98
RGBrgb(137, 78, 152)
HSLhsl(288, 32%, 45%)
HSVhsv(288, 49%, 60%)
CMYKcmyk(9.9%, 48.7%, 0%, 40.4%)
CIE-LABlab(42.82, 37.33, -30.49)
CIE-LCHlch(42.82, 48.20, 320.76°)
OKLaboklab(52.25% 0.0979 -0.0843)
OKLCHoklch(52.25% 0.129 319.2)
XYZxyz(18.7077, 13.0348, 31.2302)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894E98 #5D984E
analogous
#644E98 #894E98 #984E82
triadic
#894E98 #98894E #4E9889
tetradic
#894E98 #98644E #5D984E #4E8298
square
#894E98 #98644E #5D984E #4E8298
split-complementary
#894E98 #82984E #4E9864
monochromatic
#402447 #653970 #894E98 #A76EB5 #BF97CA

Accessibility & contrast

On white

5.82
#894E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#894E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894E98
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894E98#FFFFFF#000000##FFFFFF
##894E981.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42619B
Deuteranopia (green-blind)
#536796
Tritanopia (blue-blind)
#89586C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #894e98;
/* rgb */ color: rgb(137, 78, 152);
/* oklch */ color: oklch(52.2% 0.129 319.2);
Tailwind
colors: {
  custom: {
    50: '#ad81b6',
    500: '#894e98',
    950: '#000000',
  },
}
SCSS
$custom: #894e98;
$custom-light: #ad81b6;
$custom-dark: #000000;
JSON
{
  "hex": "#894e98",
  "rgb": {
    "r": 137,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 287.838,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52245,
    "c": 0.1292,
    "h": 319.2
  },
  "luminance": 0.13034
}

Semantic roles & 50–950 ramp

primary
#894E98
secondary
#94B68C
accent
#C85F75
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #894E98

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

Preview Lab → · Contrast checker → · Palette generator →

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