#894EB2#894EB2

#894EB2 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.7% C 0.159 H 309.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#894EB2
RGBrgb(137, 78, 178)
HSLhsl(275, 39%, 50%)
HSVhsv(275, 56%, 70%)
CMYKcmyk(23%, 56.2%, 0%, 30.2%)
CIE-LABlab(44.21, 43.12, -43.72)
CIE-LCHlch(44.21, 61.41, 314.60°)
OKLaboklab(53.72% 0.1005 -0.1228)
OKLCHoklch(53.72% 0.159 309.3)
XYZxyz(21.0752, 13.9818, 43.6994)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894EB2 #77B24E
analogous
#574EB2 #894EB2 #B24EA9
triadic
#894EB2 #B2894E #4EB289
tetradic
#894EB2 #B2574E #77B24E #4EA9B2
square
#894EB2 #B2574E #77B24E #4EA9B2
split-complementary
#894EB2 #A9B24E #4EB257
monochromatic
#48295D #683B88 #894EB2 #A579C5 #C2A3D7

Accessibility & contrast

On white

5.53
#894EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#894EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894EB2
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894EB2#FFFFFF#000000##FFFFFF
##894EB21.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E66B5
Deuteranopia (green-blind)
#4369B0
Tritanopia (blue-blind)
#836078
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #894eb2;
/* rgb */ color: rgb(137, 78, 178);
/* oklch */ color: oklch(53.7% 0.159 309.3);
Tailwind
colors: {
  custom: {
    50: '#ae82c9',
    500: '#894eb2',
    950: '#000000',
  },
}
SCSS
$custom: #894eb2;
$custom-light: #ae82c9;
$custom-dark: #000000;
JSON
{
  "hex": "#894eb2",
  "rgb": {
    "r": 137,
    "g": 78,
    "b": 178
  },
  "hsl": {
    "h": 275.4,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53724,
    "c": 0.15866,
    "h": 309.3
  },
  "luminance": 0.13981
}

Semantic roles & 50–950 ramp

primary
#894EB2
secondary
#AAC498
accent
#CF5989
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #894EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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