#894ED3#894ED3

#894ED3 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.9% C 0.197 H 300.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#894ED3
RGBrgb(137, 78, 211)
HSLhsl(267, 60%, 57%)
HSVhsv(267, 63%, 83%)
CMYKcmyk(35.1%, 63%, 0%, 17.3%)
CIE-LABlab(46.27, 51.07, -59.55)
CIE-LCHlch(46.27, 78.45, 310.62°)
OKLaboklab(55.89% 0.0999 -0.1692)
OKLCHoklch(55.89% 0.197 300.6)
XYZxyz(24.7959, 15.4701, 63.2951)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894ED3 #98D34E
analogous
#4E56D3 #894ED3 #CC4ED3
triadic
#894ED3 #D3894E #4ED389
tetradic
#894ED3 #D34E56 #98D34E #4ED3CC
square
#894ED3 #D34E56 #98D34E #4ED3CC
split-complementary
#894ED3 #D3CC4E #56D34E
monochromatic
#4E2185 #6A2DB6 #894ED3 #AA7FDF #CAB0EB

Accessibility & contrast

On white

5.13
#894ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#894ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894ED3
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894ED3#FFFFFF#000000##FFFFFF
##894ED31.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD7
Deuteranopia (green-blind)
#186DD0
Tritanopia (blue-blind)
#796B89
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #894ed3;
/* rgb */ color: rgb(137, 78, 211);
/* oklch */ color: oklch(55.9% 0.197 300.6);
Tailwind
colors: {
  custom: {
    50: '#b083e1',
    500: '#894ed3',
    950: '#000000',
  },
}
SCSS
$custom: #894ed3;
$custom-light: #b083e1;
$custom-dark: #000000;
JSON
{
  "hex": "#894ed3",
  "rgb": {
    "r": 137,
    "g": 78,
    "b": 211
  },
  "hsl": {
    "h": 266.617,
    "s": 60.181,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5589,
    "c": 0.19654,
    "h": 300.6
  },
  "luminance": 0.1547
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #894ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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