#894CC4#894CC4

#894CC4 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.6% C 0.182 H 304.4°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#894CC4
RGBrgb(137, 76, 196)
HSLhsl(271, 50%, 53%)
HSVhsv(271, 61%, 77%)
CMYKcmyk(30.1%, 61.2%, 0%, 23.1%)
CIE-LABlab(44.90, 48.44, -53.11)
CIE-LCHlch(44.90, 71.88, 312.37°)
OKLaboklab(54.58% 0.1031 -0.1503)
OKLCHoklch(54.58% 0.182 304.4)
XYZxyz(22.8626, 14.4729, 53.8029)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894CC4 #87C44C
analogous
#4D4CC4 #894CC4 #C44CC3
triadic
#894CC4 #C4894C #4CC489
tetradic
#894CC4 #C44D4C #87C44C #4CC3C4
square
#894CC4 #C44D4C #87C44C #4CC3C4
split-complementary
#894CC4 #C3C44C #4CC44D
monochromatic
#4B2571 #6A349F #894CC4 #A77AD3 #C6A8E2

Accessibility & contrast

On white

5.39
#894CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#894CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894CC4
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894CC4#FFFFFF#000000##FFFFFF
##894CC41.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0469C8
Deuteranopia (green-blind)
#2F6AC1
Tritanopia (blue-blind)
#7E6581
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #894cc4;
/* rgb */ color: rgb(137, 76, 196);
/* oklch */ color: oklch(54.6% 0.182 304.4);
Tailwind
colors: {
  custom: {
    50: '#af81d6',
    500: '#894cc4',
    950: '#000000',
  },
}
SCSS
$custom: #894cc4;
$custom-light: #af81d6;
$custom-dark: #000000;
JSON
{
  "hex": "#894cc4",
  "rgb": {
    "r": 137,
    "g": 76,
    "b": 196
  },
  "hsl": {
    "h": 270.5,
    "s": 50.42,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54585,
    "c": 0.18227,
    "h": 304.4
  },
  "luminance": 0.14473
}

Semantic roles & 50–950 ramp

primary
#894CC4
secondary
#B5D09C
accent
#DA4E93
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #894CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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