#894AC5#894AC5

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

Color values

HEX#894AC5
RGBrgb(137, 74, 197)
HSLhsl(271, 51%, 53%)
HSVhsv(271, 62%, 77%)
CMYKcmyk(30.5%, 62.4%, 0%, 22.7%)
CIE-LABlab(44.59, 49.71, -54.20)
CIE-LCHlch(44.59, 73.55, 312.53°)
OKLaboklab(54.37% 0.1055 -0.1535)
OKLCHoklch(54.37% 0.186 304.5)
XYZxyz(22.8411, 14.2472, 54.3592)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894AC5 #86C54A
analogous
#4C4AC5 #894AC5 #C54AC3
triadic
#894AC5 #C5894A #4AC589
tetradic
#894AC5 #C54C4A #86C54A #4AC3C5
square
#894AC5 #C54C4A #86C54A #4AC3C5
split-complementary
#894AC5 #C3C54A #4AC54C
monochromatic
#4B2471 #6A339F #894AC5 #A778D4 #C5A7E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##894AC5#FFFFFF#000000##FFFFFF
##894AC51.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)
#0068C9
Deuteranopia (green-blind)
#2A69C2
Tritanopia (blue-blind)
#7E6481
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #894ac5;
/* rgb */ color: rgb(137, 74, 197);
/* oklch */ color: oklch(54.4% 0.186 304.5);
Tailwind
colors: {
  custom: {
    50: '#af80d7',
    500: '#894ac5',
    950: '#000000',
  },
}
SCSS
$custom: #894ac5;
$custom-light: #af80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#894ac5",
  "rgb": {
    "r": 137,
    "g": 74,
    "b": 197
  },
  "hsl": {
    "h": 270.732,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54374,
    "c": 0.18624,
    "h": 304.5
  },
  "luminance": 0.14247
}

Semantic roles & 50–950 ramp

primary
#894AC5
secondary
#B5D09B
accent
#DB4D92
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #894AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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