#894AC4#894AC4

#894AC4 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.3% C 0.185 H 304.7°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#894AC4
RGBrgb(137, 74, 196)
HSLhsl(271, 51%, 53%)
HSVhsv(271, 62%, 77%)
CMYKcmyk(30.1%, 62.2%, 0%, 23.1%)
CIE-LABlab(44.52, 49.47, -53.73)
CIE-LCHlch(44.52, 73.04, 312.64°)
OKLaboklab(54.31% 0.1055 -0.1521)
OKLCHoklch(54.31% 0.185 304.7)
XYZxyz(22.7269, 14.2016, 53.7577)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894AC4 #85C44A
analogous
#4C4AC4 #894AC4 #C44AC2
triadic
#894AC4 #C4894A #4AC489
tetradic
#894AC4 #C44C4A #85C44A #4AC2C4
square
#894AC4 #C44C4A #85C44A #4AC2C4
split-complementary
#894AC4 #C2C44A #4AC44C
monochromatic
#4B246F #6A339D #894AC4 #A778D3 #C5A6E2

Accessibility & contrast

On white

5.47
#894AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#894AC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894AC4
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894AC4#FFFFFF#000000##FFFFFF
##894AC41.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C8
Deuteranopia (green-blind)
#2C69C1
Tritanopia (blue-blind)
#7E6380
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #894ac4;
/* rgb */ color: rgb(137, 74, 196);
/* oklch */ color: oklch(54.3% 0.185 304.7);
Tailwind
colors: {
  custom: {
    50: '#af80d7',
    500: '#894ac4',
    950: '#000000',
  },
}
SCSS
$custom: #894ac4;
$custom-light: #af80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#894ac4",
  "rgb": {
    "r": 137,
    "g": 74,
    "b": 196
  },
  "hsl": {
    "h": 270.984,
    "s": 50.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54307,
    "c": 0.18512,
    "h": 304.7
  },
  "luminance": 0.14201
}

Semantic roles & 50–950 ramp

primary
#894AC4
secondary
#B4CF9B
accent
#DA4D92
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #894AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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