#894AAA#894AAA

#894AAA is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.6% C 0.156 H 312.5°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#894AAA
RGBrgb(137, 74, 170)
HSLhsl(279, 39%, 48%)
HSVhsv(279, 56%, 67%)
CMYKcmyk(19.4%, 56.5%, 0%, 33.3%)
CIE-LABlab(42.94, 43.43, -41.02)
CIE-LCHlch(42.94, 59.74, 316.64°)
OKLaboklab(52.65% 0.1055 -0.1149)
OKLCHoklch(52.65% 0.156 312.5)
XYZxyz(20.0197, 13.1187, 39.5000)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894AAA #6BAA4A
analogous
#594AAA #894AAA #AA4A9B
triadic
#894AAA #AA894A #4AAA89
tetradic
#894AAA #AA594A #6BAA4A #4A9BAA
square
#894AAA #AA594A #6BAA4A #4A9BAA
split-complementary
#894AAA #9BAA4A #4AAA59
monochromatic
#442555 #67377F #894AAA #A570C1 #C09BD3

Accessibility & contrast

On white

5.80
#894AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#894AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894AAA
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894AAA#FFFFFF#000000##FFFFFF
##894AAA1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E62AD
Deuteranopia (green-blind)
#4567A8
Tritanopia (blue-blind)
#865B73
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #894aaa;
/* rgb */ color: rgb(137, 74, 170);
/* oklch */ color: oklch(52.6% 0.156 312.5);
Tailwind
colors: {
  custom: {
    50: '#ae7fc4',
    500: '#894aaa',
    950: '#000000',
  },
}
SCSS
$custom: #894aaa;
$custom-light: #ae7fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#894aaa",
  "rgb": {
    "r": 137,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 279.375,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52648,
    "c": 0.15594,
    "h": 312.5
  },
  "luminance": 0.13118
}

Semantic roles & 50–950 ramp

primary
#894AAA
secondary
#A0C090
accent
#CF5981
background
#FAF7FC
surface
#F5EEF8
border
#CFC9D1
text
#110A12
muted
#807C81

Preview Lab

Preview with #894AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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