#894CC5#894CC5

#894CC5 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.7% C 0.183 H 304.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#894CC5
RGBrgb(137, 76, 197)
HSLhsl(270, 51%, 54%)
HSVhsv(270, 61%, 77%)
CMYKcmyk(30.5%, 61.4%, 0%, 22.7%)
CIE-LABlab(44.97, 48.68, -53.59)
CIE-LCHlch(44.97, 72.40, 312.25°)
OKLaboklab(54.65% 0.1031 -0.1517)
OKLCHoklch(54.65% 0.183 304.2)
XYZxyz(22.9768, 14.5185, 54.4044)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894CC5 #88C54C
analogous
#4C4CC5 #894CC5 #C54CC4
triadic
#894CC5 #C5894C #4CC589
tetradic
#894CC5 #C54C4C #88C54C #4CC4C5
square
#894CC5 #C54C4C #88C54C #4CC4C5
split-complementary
#894CC5 #C4C54C #4CC54C
monochromatic
#4C2572 #6A34A0 #894CC5 #A77AD4 #C6A8E3

Accessibility & contrast

On white

5.38
#894CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#894CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894CC5
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894CC5#FFFFFF#000000##FFFFFF
##894CC51.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069C9
Deuteranopia (green-blind)
#2E6AC2
Tritanopia (blue-blind)
#7E6581
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #894cc5;
/* rgb */ color: rgb(137, 76, 197);
/* oklch */ color: oklch(54.7% 0.183 304.2);
Tailwind
colors: {
  custom: {
    50: '#af81d7',
    500: '#894cc5',
    950: '#000000',
  },
}
SCSS
$custom: #894cc5;
$custom-light: #af81d7;
$custom-dark: #000000;
JSON
{
  "hex": "#894cc5",
  "rgb": {
    "r": 137,
    "g": 76,
    "b": 197
  },
  "hsl": {
    "h": 270.248,
    "s": 51.055,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54652,
    "c": 0.1834,
    "h": 304.2
  },
  "luminance": 0.14518
}

Semantic roles & 50–950 ramp

primary
#894CC5
secondary
#B6D09C
accent
#DB4D93
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #894CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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