#894EC4#894EC4

#894EC4 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.9% C 0.179 H 304.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#894EC4
RGBrgb(137, 78, 196)
HSLhsl(270, 50%, 54%)
HSVhsv(270, 60%, 77%)
CMYKcmyk(30.1%, 60.2%, 0%, 23.1%)
CIE-LABlab(45.29, 47.39, -52.48)
CIE-LCHlch(45.29, 70.72, 312.08°)
OKLaboklab(54.87% 0.1007 -0.1485)
OKLCHoklch(54.87% 0.179 304.1)
XYZxyz(23.0025, 14.7527, 53.8496)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894EC4 #89C44E
analogous
#4E4EC4 #894EC4 #C44EC4
triadic
#894EC4 #C4894E #4EC489
tetradic
#894EC4 #C44E4E #89C44E #4EC4C4
square
#894EC4 #C44E4E #89C44E #4EC4C4
split-complementary
#894EC4 #C4C44E #4EC44E
monochromatic
#4C2672 #6A35A0 #894EC4 #A87CD3 #C6AAE3

Accessibility & contrast

On white

5.32
#894EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#894EC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894EC4
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894EC4#FFFFFF#000000##FFFFFF
##894EC41.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#106AC8
Deuteranopia (green-blind)
#326BC1
Tritanopia (blue-blind)
#7E6682
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #894ec4;
/* rgb */ color: rgb(137, 78, 196);
/* oklch */ color: oklch(54.9% 0.179 304.1);
Tailwind
colors: {
  custom: {
    50: '#af82d6',
    500: '#894ec4',
    950: '#000000',
  },
}
SCSS
$custom: #894ec4;
$custom-light: #af82d6;
$custom-dark: #000000;
JSON
{
  "hex": "#894ec4",
  "rgb": {
    "r": 137,
    "g": 78,
    "b": 196
  },
  "hsl": {
    "h": 270,
    "s": 50,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54869,
    "c": 0.17938,
    "h": 304.1
  },
  "luminance": 0.14753
}

Semantic roles & 50–950 ramp

primary
#894EC4
secondary
#B7D09E
accent
#DA4E94
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #894EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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