#894EB5#894EB5

#894EB5 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.9% C 0.162 H 308.4°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#894EB5
RGBrgb(137, 78, 181)
HSLhsl(274, 41%, 51%)
HSVhsv(274, 57%, 71%)
CMYKcmyk(24.3%, 56.9%, 0%, 29%)
CIE-LABlab(44.38, 43.82, -45.20)
CIE-LCHlch(44.38, 62.96, 314.11°)
OKLaboklab(53.91% 0.1006 -0.1271)
OKLCHoklch(53.91% 0.162 308.4)
XYZxyz(21.3797, 14.1036, 45.3031)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894EB5 #7AB54E
analogous
#554EB5 #894EB5 #B54EAD
triadic
#894EB5 #B5894E #4EB589
tetradic
#894EB5 #B5554E #7AB54E #4EADB5
square
#894EB5 #B5554E #7AB54E #4EADB5
split-complementary
#894EB5 #ADB54E #4EB555
monochromatic
#482860 #693A8B #894EB5 #A679C7 #C3A4D9

Accessibility & contrast

On white

5.50
#894EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#894EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894EB5
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894EB5#FFFFFF#000000##FFFFFF
##894EB51.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A67B8
Deuteranopia (green-blind)
#416AB3
Tritanopia (blue-blind)
#83617A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #894eb5;
/* rgb */ color: rgb(137, 78, 181);
/* oklch */ color: oklch(53.9% 0.162 308.4);
Tailwind
colors: {
  custom: {
    50: '#ae82cc',
    500: '#894eb5',
    950: '#000000',
  },
}
SCSS
$custom: #894eb5;
$custom-light: #ae82cc;
$custom-dark: #000000;
JSON
{
  "hex": "#894eb5",
  "rgb": {
    "r": 137,
    "g": 78,
    "b": 181
  },
  "hsl": {
    "h": 274.369,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53908,
    "c": 0.16211,
    "h": 308.4
  },
  "luminance": 0.14103
}

Semantic roles & 50–950 ramp

primary
#894EB5
secondary
#ACC699
accent
#D1578B
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B13
muted
#807C82

Preview Lab

Preview with #894EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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