#894ED4#894ED4

#894ED4 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 56.0% C 0.198 H 300.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#894ED4
RGBrgb(137, 78, 212)
HSLhsl(266, 61%, 57%)
HSVhsv(266, 63%, 83%)
CMYKcmyk(35.4%, 63.2%, 0%, 16.9%)
CIE-LABlab(46.34, 51.32, -60.02)
CIE-LCHlch(46.34, 78.97, 310.54°)
OKLaboklab(55.96% 0.0999 -0.1706)
OKLCHoklch(55.96% 0.198 300.3)
XYZxyz(24.9217, 15.5204, 63.9574)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894ED4 #99D44E
analogous
#4E56D4 #894ED4 #CC4ED4
triadic
#894ED4 #D4894E #4ED489
tetradic
#894ED4 #D44E56 #99D44E #4ED4CC
square
#894ED4 #D44E56 #99D44E #4ED4CC
split-complementary
#894ED4 #D4CC4E #56D44E
monochromatic
#4E2187 #6A2DB8 #894ED4 #AA7FE0 #CBB0EC

Accessibility & contrast

On white

5.12
#894ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#894ED4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894ED4
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894ED4#FFFFFF#000000##FFFFFF
##894ED41.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD8
Deuteranopia (green-blind)
#156DD1
Tritanopia (blue-blind)
#796B8A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #894ed4;
/* rgb */ color: rgb(137, 78, 212);
/* oklch */ color: oklch(56.0% 0.198 300.3);
Tailwind
colors: {
  custom: {
    50: '#b083e2',
    500: '#894ed4',
    950: '#000000',
  },
}
SCSS
$custom: #894ed4;
$custom-light: #b083e2;
$custom-dark: #000000;
JSON
{
  "hex": "#894ed4",
  "rgb": {
    "r": 137,
    "g": 78,
    "b": 212
  },
  "hsl": {
    "h": 266.418,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55961,
    "c": 0.19768,
    "h": 300.3
  },
  "luminance": 0.15521
}

Semantic roles & 50–950 ramp

primary
#894ED4
secondary
#C2DAA4
accent
#E4449D
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #894ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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