#894AC7#894AC7

#894AC7 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.5% C 0.188 H 304.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#894AC7
RGBrgb(137, 74, 199)
HSLhsl(270, 53%, 54%)
HSVhsv(270, 63%, 78%)
CMYKcmyk(31.2%, 62.8%, 0%, 22%)
CIE-LABlab(44.72, 50.20, -55.15)
CIE-LCHlch(44.72, 74.57, 312.31°)
OKLaboklab(54.51% 0.1053 -0.1563)
OKLCHoklch(54.51% 0.188 304)
XYZxyz(23.0718, 14.3395, 55.5741)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894AC7 #88C74A
analogous
#4A4AC7 #894AC7 #C74AC6
triadic
#894AC7 #C7894A #4AC789
tetradic
#894AC7 #C74A4A #88C74A #4AC6C7
square
#894AC7 #C74A4A #88C74A #4AC6C7
split-complementary
#894AC7 #C6C74A #4AC74A
monochromatic
#4C2473 #6A32A2 #894AC7 #A779D5 #C6A7E4

Accessibility & contrast

On white

5.43
#894AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#894AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894AC7
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894AC7#FFFFFF#000000##FFFFFF
##894AC71.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#276AC4
Tritanopia (blue-blind)
#7D6482
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #894ac7;
/* rgb */ color: rgb(137, 74, 199);
/* oklch */ color: oklch(54.5% 0.188 304.0);
Tailwind
colors: {
  custom: {
    50: '#b080d9',
    500: '#894ac7',
    950: '#000000',
  },
}
SCSS
$custom: #894ac7;
$custom-light: #b080d9;
$custom-dark: #000000;
JSON
{
  "hex": "#894ac7",
  "rgb": {
    "r": 137,
    "g": 74,
    "b": 199
  },
  "hsl": {
    "h": 270.24,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54511,
    "c": 0.18848,
    "h": 304
  },
  "luminance": 0.14339
}

Semantic roles & 50–950 ramp

primary
#894AC7
secondary
#B6D19C
accent
#DC4C93
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A15
muted
#807C83

Preview Lab

Preview with #894AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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