#894ED5#894ED5

#894ED5 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 56.0% C 0.199 H 300.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#894ED5
RGBrgb(137, 78, 213)
HSLhsl(266, 62%, 57%)
HSVhsv(266, 63%, 84%)
CMYKcmyk(35.7%, 63.4%, 0%, 16.5%)
CIE-LABlab(46.41, 51.57, -60.48)
CIE-LCHlch(46.41, 79.48, 310.45°)
OKLaboklab(56.03% 0.0998 -0.172)
OKLCHoklch(56.03% 0.199 300.1)
XYZxyz(25.0482, 15.5710, 64.6238)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894ED5 #9AD54E
analogous
#4E57D5 #894ED5 #CC4ED5
triadic
#894ED5 #D5894E #4ED589
tetradic
#894ED5 #D54E57 #9AD54E #4ED5CC
square
#894ED5 #D54E57 #9AD54E #4ED5CC
split-complementary
#894ED5 #D5CC4E #57D54E
monochromatic
#4E2088 #6A2CBA #894ED5 #AA7FE1 #CBB1EC

Accessibility & contrast

On white

5.10
#894ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#894ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894ED5
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894ED5#FFFFFF#000000##FFFFFF
##894ED51.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED9
Deuteranopia (green-blind)
#116DD2
Tritanopia (blue-blind)
#786C8A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #894ed5;
/* rgb */ color: rgb(137, 78, 213);
/* oklch */ color: oklch(56.0% 0.199 300.1);
Tailwind
colors: {
  custom: {
    50: '#b083e3',
    500: '#894ed5',
    950: '#000000',
  },
}
SCSS
$custom: #894ed5;
$custom-light: #b083e3;
$custom-dark: #000000;
JSON
{
  "hex": "#894ed5",
  "rgb": {
    "r": 137,
    "g": 78,
    "b": 213
  },
  "hsl": {
    "h": 266.222,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56031,
    "c": 0.19881,
    "h": 300.1
  },
  "luminance": 0.15571
}

Semantic roles & 50–950 ramp

primary
#894ED5
secondary
#C3DBA4
accent
#E5439E
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B15
muted
#807C84

Preview Lab

Preview with #894ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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