#894EBC#894EBC

#894EBC is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.3% C 0.170 H 306.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#894EBC
RGBrgb(137, 78, 188)
HSLhsl(272, 45%, 52%)
HSVhsv(272, 59%, 74%)
CMYKcmyk(27.1%, 58.5%, 0%, 26.3%)
CIE-LABlab(44.80, 45.47, -48.63)
CIE-LCHlch(44.80, 66.58, 313.08°)
OKLaboklab(54.35% 0.1007 -0.1372)
OKLCHoklch(54.35% 0.17 306.3)
XYZxyz(22.1161, 14.3982, 49.1812)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894EBC #81BC4E
analogous
#524EBC #894EBC #BC4EB8
triadic
#894EBC #BC894E #4EBC89
tetradic
#894EBC #BC524E #81BC4E #4EB8BC
square
#894EBC #BC524E #81BC4E #4EB8BC
split-complementary
#894EBC #B8BC4E #4EBC52
monochromatic
#4A2768 #6A3895 #894EBC #A77ACD #C4A7DE

Accessibility & contrast

On white

5.41
#894EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #894EBC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894EBC#FFFFFF#000000##FFFFFF
##894EBC1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2168C0
Deuteranopia (green-blind)
#3A6AB9
Tritanopia (blue-blind)
#81637D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #894ebc;
/* rgb */ color: rgb(137, 78, 188);
/* oklch */ color: oklch(54.3% 0.170 306.3);
Tailwind
colors: {
  custom: {
    50: '#af82d1',
    500: '#894ebc',
    950: '#000000',
  },
}
SCSS
$custom: #894ebc;
$custom-light: #af82d1;
$custom-dark: #000000;
JSON
{
  "hex": "#894ebc",
  "rgb": {
    "r": 137,
    "g": 78,
    "b": 188
  },
  "hsl": {
    "h": 272.182,
    "s": 45.082,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54348,
    "c": 0.17017,
    "h": 306.3
  },
  "luminance": 0.14398
}

Semantic roles & 50–950 ramp

primary
#894EBC
secondary
#B1CB9B
accent
#D5538F
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #894EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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