#894EB8#894EB8

#894EB8 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.1% C 0.166 H 307.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#894EB8
RGBrgb(137, 78, 184)
HSLhsl(273, 43%, 51%)
HSVhsv(273, 58%, 72%)
CMYKcmyk(25.5%, 57.6%, 0%, 27.8%)
CIE-LABlab(44.56, 44.52, -46.68)
CIE-LCHlch(44.56, 64.51, 313.65°)
OKLaboklab(54.1% 0.1007 -0.1314)
OKLCHoklch(54.1% 0.166 307.4)
XYZxyz(21.6909, 14.2281, 46.9417)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894EB8 #7DB84E
analogous
#544EB8 #894EB8 #B84EB2
triadic
#894EB8 #B8894E #4EB889
tetradic
#894EB8 #B8544E #7DB84E #4EB2B8
square
#894EB8 #B8544E #7DB84E #4EB2B8
split-complementary
#894EB8 #B2B84E #4EB854
monochromatic
#492864 #69398F #894EB8 #A67ACA #C3A5DB

Accessibility & contrast

On white

5.46
#894EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#894EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894EB8
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894EB8#FFFFFF#000000##FFFFFF
##894EB81.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2767BB
Deuteranopia (green-blind)
#3E6AB5
Tritanopia (blue-blind)
#82627B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #894eb8;
/* rgb */ color: rgb(137, 78, 184);
/* oklch */ color: oklch(54.1% 0.166 307.4);
Tailwind
colors: {
  custom: {
    50: '#ae82ce',
    500: '#894eb8',
    950: '#000000',
  },
}
SCSS
$custom: #894eb8;
$custom-light: #ae82ce;
$custom-dark: #000000;
JSON
{
  "hex": "#894eb8",
  "rgb": {
    "r": 137,
    "g": 78,
    "b": 184
  },
  "hsl": {
    "h": 273.396,
    "s": 42.742,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54095,
    "c": 0.16557,
    "h": 307.4
  },
  "luminance": 0.14228
}

Semantic roles & 50–950 ramp

primary
#894EB8
secondary
#AEC89A
accent
#D3558D
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #894EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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