#894EAC#894EAC

#894EAC is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.4% C 0.152 H 311.3°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#894EAC
RGBrgb(137, 78, 172)
HSLhsl(278, 38%, 49%)
HSVhsv(278, 55%, 67%)
CMYKcmyk(20.3%, 54.7%, 0%, 32.5%)
CIE-LABlab(43.87, 41.74, -40.73)
CIE-LCHlch(43.87, 58.32, 315.70°)
OKLaboklab(53.36% 0.1001 -0.1141)
OKLCHoklch(53.36% 0.152 311.3)
XYZxyz(20.4860, 13.7461, 40.5958)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894EAC #71AC4E
analogous
#5A4EAC #894EAC #AC4EA0
triadic
#894EAC #AC894E #4EAC89
tetradic
#894EAC #AC5A4E #71AC4E #4EA0AC
square
#894EAC #AC5A4E #71AC4E #4EA0AC
split-complementary
#894EAC #A0AC4E #4EAC5A
monochromatic
#462858 #673B82 #894EAC #A576C1 #C1A0D4

Accessibility & contrast

On white

5.60
#894EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#894EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894EAC
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894EAC#FFFFFF#000000##FFFFFF
##894EAC1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3465AF
Deuteranopia (green-blind)
#4769AA
Tritanopia (blue-blind)
#855E75
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #894eac;
/* rgb */ color: rgb(137, 78, 172);
/* oklch */ color: oklch(53.4% 0.152 311.3);
Tailwind
colors: {
  custom: {
    50: '#ae82c5',
    500: '#894eac',
    950: '#000000',
  },
}
SCSS
$custom: #894eac;
$custom-light: #ae82c5;
$custom-dark: #000000;
JSON
{
  "hex": "#894eac",
  "rgb": {
    "r": 137,
    "g": 78,
    "b": 172
  },
  "hsl": {
    "h": 277.66,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53364,
    "c": 0.15177,
    "h": 311.3
  },
  "luminance": 0.13746
}

Semantic roles & 50–950 ramp

primary
#894EAC
secondary
#A5C195
accent
#CE5A85
background
#FAF8FC
surface
#F5EFF8
border
#CFCAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #894EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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