#894EB4#894EB4

#894EB4 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.8% C 0.161 H 308.7°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#894EB4
RGBrgb(137, 78, 180)
HSLhsl(275, 40%, 51%)
HSVhsv(275, 57%, 71%)
CMYKcmyk(23.9%, 56.7%, 0%, 29.4%)
CIE-LABlab(44.32, 43.59, -44.71)
CIE-LCHlch(44.32, 62.44, 314.27°)
OKLaboklab(53.85% 0.1006 -0.1257)
OKLCHoklch(53.85% 0.161 308.7)
XYZxyz(21.2775, 14.0627, 44.7646)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894EB4 #79B44E
analogous
#564EB4 #894EB4 #B44EAC
triadic
#894EB4 #B4894E #4EB489
tetradic
#894EB4 #B4564E #79B44E #4EACB4
square
#894EB4 #B4564E #79B44E #4EACB4
split-complementary
#894EB4 #ACB44E #4EB456
monochromatic
#48285F #693B8A #894EB4 #A679C6 #C2A4D8

Accessibility & contrast

On white

5.51
#894EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#894EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894EB4
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894EB4#FFFFFF#000000##FFFFFF
##894EB41.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C66B7
Deuteranopia (green-blind)
#416AB2
Tritanopia (blue-blind)
#836179
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #894eb4;
/* rgb */ color: rgb(137, 78, 180);
/* oklch */ color: oklch(53.8% 0.161 308.7);
Tailwind
colors: {
  custom: {
    50: '#ae82cb',
    500: '#894eb4',
    950: '#000000',
  },
}
SCSS
$custom: #894eb4;
$custom-light: #ae82cb;
$custom-dark: #000000;
JSON
{
  "hex": "#894eb4",
  "rgb": {
    "r": 137,
    "g": 78,
    "b": 180
  },
  "hsl": {
    "h": 274.706,
    "s": 40.476,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53847,
    "c": 0.16096,
    "h": 308.7
  },
  "luminance": 0.14062
}

Semantic roles & 50–950 ramp

primary
#894EB4
secondary
#ABC698
accent
#D0578A
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #894EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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