#894EAF#894EAF

#894EAF is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.5% C 0.155 H 310.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#894EAF
RGBrgb(137, 78, 175)
HSLhsl(276, 38%, 50%)
HSVhsv(276, 55%, 69%)
CMYKcmyk(21.7%, 55.4%, 0%, 31.4%)
CIE-LABlab(44.04, 42.43, -42.23)
CIE-LCHlch(44.04, 59.86, 315.13°)
OKLaboklab(53.54% 0.1003 -0.1184)
OKLCHoklch(53.54% 0.155 310.3)
XYZxyz(20.7773, 13.8627, 42.1304)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894EAF #74AF4E
analogous
#594EAF #894EAF #AF4EA5
triadic
#894EAF #AF894E #4EAF89
tetradic
#894EAF #AF594E #74AF4E #4EA5AF
square
#894EAF #AF594E #74AF4E #4EA5AF
split-complementary
#894EAF #A5AF4E #4EAF59
monochromatic
#47285A #683B85 #894EAF #A578C3 #C1A2D6

Accessibility & contrast

On white

5.57
#894EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#894EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894EAF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894EAF#FFFFFF#000000##FFFFFF
##894EAF1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3165B2
Deuteranopia (green-blind)
#4569AD
Tritanopia (blue-blind)
#845F77
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #894eaf;
/* rgb */ color: rgb(137, 78, 175);
/* oklch */ color: oklch(53.5% 0.155 310.3);
Tailwind
colors: {
  custom: {
    50: '#ae82c7',
    500: '#894eaf',
    950: '#000000',
  },
}
SCSS
$custom: #894eaf;
$custom-light: #ae82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#894eaf",
  "rgb": {
    "r": 137,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 276.495,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53543,
    "c": 0.15522,
    "h": 310.3
  },
  "luminance": 0.13862
}

Semantic roles & 50–950 ramp

primary
#894EAF
secondary
#A8C396
accent
#CE5A87
background
#FAF8FC
surface
#F5EFF8
border
#CFCAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #894EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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