#894ED6#894ED6

#894ED6 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 56.1% C 0.200 H 299.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#894ED6
RGBrgb(137, 78, 214)
HSLhsl(266, 62%, 57%)
HSVhsv(266, 64%, 84%)
CMYKcmyk(36%, 63.6%, 0%, 16.1%)
CIE-LABlab(46.47, 51.82, -60.94)
CIE-LCHlch(46.47, 79.99, 310.38°)
OKLaboklab(56.1% 0.0997 -0.1733)
OKLCHoklch(56.1% 0.2 299.9)
XYZxyz(25.1755, 15.6220, 65.2943)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894ED6 #9BD64E
analogous
#4E57D6 #894ED6 #CD4ED6
triadic
#894ED6 #D6894E #4ED689
tetradic
#894ED6 #D64E57 #9BD64E #4ED6CD
square
#894ED6 #D64E57 #9BD64E #4ED6CD
split-complementary
#894ED6 #D6CD4E #57D64E
monochromatic
#4E208A #6A2BBB #894ED6 #AA80E2 #CBB1ED

Accessibility & contrast

On white

5.09
#894ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#894ED6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894ED6
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894ED6#FFFFFF#000000##FFFFFF
##894ED61.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDA
Deuteranopia (green-blind)
#0D6DD3
Tritanopia (blue-blind)
#786C8B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #894ed6;
/* rgb */ color: rgb(137, 78, 214);
/* oklch */ color: oklch(56.1% 0.200 299.9);
Tailwind
colors: {
  custom: {
    50: '#b183e3',
    500: '#894ed6',
    950: '#000000',
  },
}
SCSS
$custom: #894ed6;
$custom-light: #b183e3;
$custom-dark: #000000;
JSON
{
  "hex": "#894ed6",
  "rgb": {
    "r": 137,
    "g": 78,
    "b": 214
  },
  "hsl": {
    "h": 266.029,
    "s": 62.385,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56102,
    "c": 0.19995,
    "h": 299.9
  },
  "luminance": 0.15622
}

Semantic roles & 50–950 ramp

primary
#894ED6
secondary
#C4DBA4
accent
#E5429F
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #894ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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