#894EBA#894EBA

#894EBA is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.2% C 0.168 H 306.9°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#894EBA
RGBrgb(137, 78, 186)
HSLhsl(273, 44%, 52%)
HSVhsv(273, 58%, 73%)
CMYKcmyk(26.3%, 58.1%, 0%, 27.1%)
CIE-LABlab(44.68, 45.00, -47.65)
CIE-LCHlch(44.68, 65.54, 313.36°)
OKLaboklab(54.22% 0.1007 -0.1343)
OKLCHoklch(54.22% 0.168 306.9)
XYZxyz(21.9020, 14.3125, 48.0536)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894EBA #7FBA4E
analogous
#534EBA #894EBA #BA4EB5
triadic
#894EBA #BA894E #4EBA89
tetradic
#894EBA #BA534E #7FBA4E #4EB5BA
square
#894EBA #BA534E #7FBA4E #4EB5BA
split-complementary
#894EBA #B5BA4E #4EBA53
monochromatic
#4A2866 #6A3992 #894EBA #A67ACB #C4A6DC

Accessibility & contrast

On white

5.44
#894EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#894EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894EBA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894EBA#FFFFFF#000000##FFFFFF
##894EBA1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2468BE
Deuteranopia (green-blind)
#3C6AB7
Tritanopia (blue-blind)
#81637C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #894eba;
/* rgb */ color: rgb(137, 78, 186);
/* oklch */ color: oklch(54.2% 0.168 306.9);
Tailwind
colors: {
  custom: {
    50: '#ae82cf',
    500: '#894eba',
    950: '#000000',
  },
}
SCSS
$custom: #894eba;
$custom-light: #ae82cf;
$custom-dark: #000000;
JSON
{
  "hex": "#894eba",
  "rgb": {
    "r": 137,
    "g": 78,
    "b": 186
  },
  "hsl": {
    "h": 272.778,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54221,
    "c": 0.16787,
    "h": 306.9
  },
  "luminance": 0.14312
}

Semantic roles & 50–950 ramp

primary
#894EBA
secondary
#B0CA9A
accent
#D4548E
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #894EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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