#894AC8#894AC8

#894AC8 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.6% C 0.190 H 303.7°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#894AC8
RGBrgb(137, 74, 200)
HSLhsl(270, 53%, 54%)
HSVhsv(270, 63%, 78%)
CMYKcmyk(31.5%, 63%, 0%, 21.6%)
CIE-LABlab(44.78, 50.44, -55.62)
CIE-LCHlch(44.78, 75.08, 312.20°)
OKLaboklab(54.58% 0.1053 -0.1577)
OKLCHoklch(54.58% 0.19 303.7)
XYZxyz(23.1883, 14.3861, 56.1876)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894AC8 #89C84A
analogous
#4A4AC8 #894AC8 #C84AC8
triadic
#894AC8 #C8894A #4AC889
tetradic
#894AC8 #C84A4A #89C84A #4AC8C8
square
#894AC8 #C84A4A #89C84A #4AC8C8
split-complementary
#894AC8 #C8C84A #4AC84A
monochromatic
#4C2374 #6A32A3 #894AC8 #A879D6 #C6A8E5

Accessibility & contrast

On white

5.42
#894AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#894AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894AC8
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894AC8#FFFFFF#000000##FFFFFF
##894AC81.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#266AC5
Tritanopia (blue-blind)
#7D6582
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #894ac8;
/* rgb */ color: rgb(137, 74, 200);
/* oklch */ color: oklch(54.6% 0.190 303.7);
Tailwind
colors: {
  custom: {
    50: '#b080d9',
    500: '#894ac8',
    950: '#000000',
  },
}
SCSS
$custom: #894ac8;
$custom-light: #b080d9;
$custom-dark: #000000;
JSON
{
  "hex": "#894ac8",
  "rgb": {
    "r": 137,
    "g": 74,
    "b": 200
  },
  "hsl": {
    "h": 270,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54579,
    "c": 0.1896,
    "h": 303.7
  },
  "luminance": 0.14386
}

Semantic roles & 50–950 ramp

primary
#894AC8
secondary
#B7D29C
accent
#DD4B94
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #894AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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