#894DD4#894DD4

#894DD4 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.8% C 0.199 H 300.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#894DD4
RGBrgb(137, 77, 212)
HSLhsl(267, 61%, 57%)
HSVhsv(267, 64%, 83%)
CMYKcmyk(35.4%, 63.7%, 0%, 16.9%)
CIE-LABlab(46.15, 51.84, -60.32)
CIE-LCHlch(46.15, 79.53, 310.67°)
OKLaboklab(55.82% 0.101 -0.1715)
OKLCHoklch(55.82% 0.199 300.5)
XYZxyz(24.8512, 15.3794, 63.9338)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894DD4 #98D44D
analogous
#4D55D4 #894DD4 #CD4DD4
triadic
#894DD4 #D4894D #4DD489
tetradic
#894DD4 #D44D55 #98D44D #4DD4CD
square
#894DD4 #D44D55 #98D44D #4DD4CD
split-complementary
#894DD4 #D4CD4D #55D44D
monochromatic
#4E2086 #6A2CB7 #894DD4 #AA7EE0 #CAB0EC

Accessibility & contrast

On white

5.15
#894DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#894DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894DD4
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894DD4#FFFFFF#000000##FFFFFF
##894DD41.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD8
Deuteranopia (green-blind)
#116CD1
Tritanopia (blue-blind)
#796B8A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #894dd4;
/* rgb */ color: rgb(137, 77, 212);
/* oklch */ color: oklch(55.8% 0.199 300.5);
Tailwind
colors: {
  custom: {
    50: '#b082e2',
    500: '#894dd4',
    950: '#000000',
  },
}
SCSS
$custom: #894dd4;
$custom-light: #b082e2;
$custom-dark: #000000;
JSON
{
  "hex": "#894dd4",
  "rgb": {
    "r": 137,
    "g": 77,
    "b": 212
  },
  "hsl": {
    "h": 266.667,
    "s": 61.086,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55824,
    "c": 0.19902,
    "h": 300.5
  },
  "luminance": 0.1538
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #894DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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