#894EBD#894EBD

#894EBD is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.4% C 0.171 H 306.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#894EBD
RGBrgb(137, 78, 189)
HSLhsl(272, 46%, 52%)
HSVhsv(272, 59%, 74%)
CMYKcmyk(27.5%, 58.7%, 0%, 25.9%)
CIE-LABlab(44.86, 45.71, -49.11)
CIE-LCHlch(44.86, 67.09, 312.94°)
OKLaboklab(54.41% 0.1007 -0.1386)
OKLCHoklch(54.41% 0.171 306)
XYZxyz(22.2243, 14.4415, 49.7509)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894EBD #82BD4E
analogous
#524EBD #894EBD #BD4EB9
triadic
#894EBD #BD894E #4EBD89
tetradic
#894EBD #BD524E #82BD4E #4EB9BD
square
#894EBD #BD524E #82BD4E #4EB9BD
split-complementary
#894EBD #B9BD4E #4EBD52
monochromatic
#4A2769 #6A3896 #894EBD #A77BCE #C4A7DE

Accessibility & contrast

On white

5.40
#894EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#894EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894EBD
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894EBD#FFFFFF#000000##FFFFFF
##894EBD1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F68C1
Deuteranopia (green-blind)
#396ABA
Tritanopia (blue-blind)
#80647E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #894ebd;
/* rgb */ color: rgb(137, 78, 189);
/* oklch */ color: oklch(54.4% 0.171 306.0);
Tailwind
colors: {
  custom: {
    50: '#af82d1',
    500: '#894ebd',
    950: '#000000',
  },
}
SCSS
$custom: #894ebd;
$custom-light: #af82d1;
$custom-dark: #000000;
JSON
{
  "hex": "#894ebd",
  "rgb": {
    "r": 137,
    "g": 78,
    "b": 189
  },
  "hsl": {
    "h": 271.892,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54413,
    "c": 0.17133,
    "h": 306
  },
  "luminance": 0.14441
}

Semantic roles & 50–950 ramp

primary
#894EBD
secondary
#B2CC9B
accent
#D55290
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #894EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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