#894FAC#894FAC

#894FAC is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.5% C 0.150 H 311.1°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#894FAC
RGBrgb(137, 79, 172)
HSLhsl(277, 37%, 49%)
HSVhsv(277, 54%, 67%)
CMYKcmyk(20.3%, 54.1%, 0%, 32.5%)
CIE-LABlab(44.07, 41.19, -40.40)
CIE-LCHlch(44.07, 57.70, 315.56°)
OKLaboklab(53.52% 0.0988 -0.1131)
OKLCHoklch(53.52% 0.15 311.1)
XYZxyz(20.5575, 13.8893, 40.6197)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894FAC #72AC4F
analogous
#5A4FAC #894FAC #AC4FA1
triadic
#894FAC #AC894F #4FAC89
tetradic
#894FAC #AC5A4F #72AC4F #4FA1AC
square
#894FAC #AC5A4F #72AC4F #4FA1AC
split-complementary
#894FAC #A1AC4F #4FAC5A
monochromatic
#462858 #683C82 #894FAC #A577C1 #C1A1D4

Accessibility & contrast

On white

5.56
#894FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#894FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894FAC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894FAC#FFFFFF#000000##FFFFFF
##894FAC1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3565AF
Deuteranopia (green-blind)
#4869AA
Tritanopia (blue-blind)
#855F76
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #894fac;
/* rgb */ color: rgb(137, 79, 172);
/* oklch */ color: oklch(53.5% 0.150 311.1);
Tailwind
colors: {
  custom: {
    50: '#ae82c5',
    500: '#894fac',
    950: '#000000',
  },
}
SCSS
$custom: #894fac;
$custom-light: #ae82c5;
$custom-dark: #000000;
JSON
{
  "hex": "#894fac",
  "rgb": {
    "r": 137,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 277.419,
    "s": 37.052,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53516,
    "c": 0.15015,
    "h": 311.1
  },
  "luminance": 0.13889
}

Semantic roles & 50–950 ramp

primary
#894FAC
secondary
#A6C196
accent
#CD5B86
background
#FAF8FC
surface
#F5EFF8
border
#CFCAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #894FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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