#894EA5#894EA5

#894EA5 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.0% C 0.144 H 313.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#894EA5
RGBrgb(137, 78, 165)
HSLhsl(281, 36%, 48%)
HSVhsv(281, 53%, 65%)
CMYKcmyk(17%, 52.7%, 0%, 35.3%)
CIE-LABlab(43.48, 40.16, -37.19)
CIE-LCHlch(43.48, 54.74, 317.20°)
OKLaboklab(52.96% 0.0995 -0.1038)
OKLCHoklch(52.96% 0.144 313.8)
XYZxyz(19.8313, 13.4843, 37.1481)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894EA5 #6AA54E
analogous
#5E4EA5 #894EA5 #A54E95
triadic
#894EA5 #A5894E #4EA589
tetradic
#894EA5 #A55E4E #6AA54E #4E95A5
square
#894EA5 #A55E4E #6AA54E #4E95A5
split-complementary
#894EA5 #95A54E #4EA55E
monochromatic
#442752 #663A7B #894EA5 #A573BD #C09DD1

Accessibility & contrast

On white

5.68
#894EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#894EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894EA5
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894EA5#FFFFFF#000000##FFFFFF
##894EA51.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3963A8
Deuteranopia (green-blind)
#4C68A3
Tritanopia (blue-blind)
#875C72
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #894ea5;
/* rgb */ color: rgb(137, 78, 165);
/* oklch */ color: oklch(53.0% 0.144 313.8);
Tailwind
colors: {
  custom: {
    50: '#ad82c0',
    500: '#894ea5',
    950: '#000000',
  },
}
SCSS
$custom: #894ea5;
$custom-light: #ad82c0;
$custom-dark: #000000;
JSON
{
  "hex": "#894ea5",
  "rgb": {
    "r": 137,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 280.69,
    "s": 35.802,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52958,
    "c": 0.14378,
    "h": 313.8
  },
  "luminance": 0.13484
}

Semantic roles & 50–950 ramp

primary
#894EA5
secondary
#A0BD91
accent
#CC5C80
background
#FAF8FB
surface
#F5EFF7
border
#CFCAD0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #894EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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