#894EC0#894EC0

#894EC0 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.6% C 0.175 H 305.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#894EC0
RGBrgb(137, 78, 192)
HSLhsl(271, 48%, 53%)
HSVhsv(271, 59%, 75%)
CMYKcmyk(28.6%, 59.4%, 0%, 24.7%)
CIE-LABlab(45.04, 46.43, -50.56)
CIE-LCHlch(45.04, 68.65, 312.56°)
OKLaboklab(54.61% 0.1007 -0.1428)
OKLCHoklch(54.61% 0.175 305.2)
XYZxyz(22.5533, 14.5731, 51.4837)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894EC0 #85C04E
analogous
#504EC0 #894EC0 #C04EBE
triadic
#894EC0 #C0894E #4EC089
tetradic
#894EC0 #C0504E #85C04E #4EBEC0
square
#894EC0 #C0504E #85C04E #4EBEC0
split-complementary
#894EC0 #BEC04E #4EC050
monochromatic
#4B276D #6A379A #894EC0 #A77BD0 #C5A8E0

Accessibility & contrast

On white

5.36
#894EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#894EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894EC0
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894EC0#FFFFFF#000000##FFFFFF
##894EC01.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A69C4
Deuteranopia (green-blind)
#366BBD
Tritanopia (blue-blind)
#7F6580
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #894ec0;
/* rgb */ color: rgb(137, 78, 192);
/* oklch */ color: oklch(54.6% 0.175 305.2);
Tailwind
colors: {
  custom: {
    50: '#af82d4',
    500: '#894ec0',
    950: '#000000',
  },
}
SCSS
$custom: #894ec0;
$custom-light: #af82d4;
$custom-dark: #000000;
JSON
{
  "hex": "#894ec0",
  "rgb": {
    "r": 137,
    "g": 78,
    "b": 192
  },
  "hsl": {
    "h": 271.053,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54606,
    "c": 0.17478,
    "h": 305.2
  },
  "luminance": 0.14573
}

Semantic roles & 50–950 ramp

primary
#894EC0
secondary
#B4CE9C
accent
#D75192
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #894EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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