#894ED2#894ED2

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

Color values

HEX#894ED2
RGBrgb(137, 78, 210)
HSLhsl(267, 59%, 56%)
HSVhsv(267, 63%, 82%)
CMYKcmyk(34.8%, 62.9%, 0%, 17.6%)
CIE-LABlab(46.20, 50.83, -59.09)
CIE-LCHlch(46.20, 77.94, 310.70°)
OKLaboklab(55.82% 0.1 -0.1679)
OKLCHoklch(55.82% 0.195 300.8)
XYZxyz(24.6710, 15.4201, 62.6369)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894ED2 #97D24E
analogous
#4E55D2 #894ED2 #CB4ED2
triadic
#894ED2 #D2894E #4ED289
tetradic
#894ED2 #D24E55 #97D24E #4ED2CB
square
#894ED2 #D24E55 #97D24E #4ED2CB
split-complementary
#894ED2 #D2CB4E #55D24E
monochromatic
#4E2284 #6A2EB5 #894ED2 #AA7FDE #CAB0EB

Accessibility & contrast

On white

5.14
#894ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #894ED2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894ED2#FFFFFF#000000##FFFFFF
##894ED21.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#1A6DCF
Tritanopia (blue-blind)
#7A6B89
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #894ed2;
/* rgb */ color: rgb(137, 78, 210);
/* oklch */ color: oklch(55.8% 0.195 300.8);
Tailwind
colors: {
  custom: {
    50: '#b083e1',
    500: '#894ed2',
    950: '#000000',
  },
}
SCSS
$custom: #894ed2;
$custom-light: #b083e1;
$custom-dark: #000000;
JSON
{
  "hex": "#894ed2",
  "rgb": {
    "r": 137,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 266.818,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5582,
    "c": 0.1954,
    "h": 300.8
  },
  "luminance": 0.1542
}

Semantic roles & 50–950 ramp

primary
#894ED2
secondary
#C1D9A3
accent
#E3459C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #894ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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