#894EAA#894EAA

#894EAA is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.2% C 0.149 H 312.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#894EAA
RGBrgb(137, 78, 170)
HSLhsl(278, 37%, 49%)
HSVhsv(278, 54%, 67%)
CMYKcmyk(19.4%, 54.1%, 0%, 33.3%)
CIE-LABlab(43.76, 41.28, -39.72)
CIE-LCHlch(43.76, 57.29, 316.10°)
OKLaboklab(53.25% 0.1 -0.1111)
OKLCHoklch(53.25% 0.149 312)
XYZxyz(20.2953, 13.6699, 39.5918)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894EAA #6FAA4E
analogous
#5B4EAA #894EAA #AA4E9D
triadic
#894EAA #AA894E #4EAA89
tetradic
#894EAA #AA5B4E #6FAA4E #4E9DAA
square
#894EAA #AA5B4E #6FAA4E #4E9DAA
split-complementary
#894EAA #9DAA4E #4EAA5B
monochromatic
#452856 #673B80 #894EAA #A575C0 #C19FD3

Accessibility & contrast

On white

5.62
#894EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#894EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894EAA
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894EAA#FFFFFF#000000##FFFFFF
##894EAA1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3564AD
Deuteranopia (green-blind)
#4969A8
Tritanopia (blue-blind)
#855D74
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #894eaa;
/* rgb */ color: rgb(137, 78, 170);
/* oklch */ color: oklch(53.2% 0.149 312.0);
Tailwind
colors: {
  custom: {
    50: '#ae82c4',
    500: '#894eaa',
    950: '#000000',
  },
}
SCSS
$custom: #894eaa;
$custom-light: #ae82c4;
$custom-dark: #000000;
JSON
{
  "hex": "#894eaa",
  "rgb": {
    "r": 137,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 278.478,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.53246,
    "c": 0.14949,
    "h": 312
  },
  "luminance": 0.13669
}

Semantic roles & 50–950 ramp

primary
#894EAA
secondary
#A4C094
accent
#CD5B84
background
#FAF8FC
surface
#F5EFF8
border
#CFCAD1
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #894EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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