#894EB3#894EB3

#894EB3 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.8% C 0.160 H 309.0°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#894EB3
RGBrgb(137, 78, 179)
HSLhsl(275, 40%, 50%)
HSVhsv(275, 56%, 70%)
CMYKcmyk(23.5%, 56.4%, 0%, 29.8%)
CIE-LABlab(44.26, 43.35, -44.22)
CIE-LCHlch(44.26, 61.92, 314.43°)
OKLaboklab(53.79% 0.1005 -0.1242)
OKLCHoklch(53.79% 0.16 309)
XYZxyz(21.1760, 14.0221, 44.2301)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894EB3 #78B34E
analogous
#574EB3 #894EB3 #B34EAA
triadic
#894EB3 #B3894E #4EB389
tetradic
#894EB3 #B3574E #78B34E #4EAAB3
square
#894EB3 #B3574E #78B34E #4EAAB3
split-complementary
#894EB3 #AAB34E #4EB357
monochromatic
#48285E #683B89 #894EB3 #A679C5 #C2A4D8

Accessibility & contrast

On white

5.52
#894EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #894EB3
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894EB3#FFFFFF#000000##FFFFFF
##894EB31.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D66B6
Deuteranopia (green-blind)
#4269B1
Tritanopia (blue-blind)
#836079
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #894eb3;
/* rgb */ color: rgb(137, 78, 179);
/* oklch */ color: oklch(53.8% 0.160 309.0);
Tailwind
colors: {
  custom: {
    50: '#ae82ca',
    500: '#894eb3',
    950: '#000000',
  },
}
SCSS
$custom: #894eb3;
$custom-light: #ae82ca;
$custom-dark: #000000;
JSON
{
  "hex": "#894eb3",
  "rgb": {
    "r": 137,
    "g": 78,
    "b": 179
  },
  "hsl": {
    "h": 275.05,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53785,
    "c": 0.15981,
    "h": 309
  },
  "luminance": 0.14022
}

Semantic roles & 50–950 ramp

primary
#894EB3
secondary
#ABC598
accent
#D0588A
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #894EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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