#894CBD#894CBD

#894CBD is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.1% C 0.174 H 306.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#894CBD
RGBrgb(137, 76, 189)
HSLhsl(272, 46%, 52%)
HSVhsv(272, 60%, 74%)
CMYKcmyk(27.5%, 59.8%, 0%, 25.9%)
CIE-LABlab(44.46, 46.77, -49.75)
CIE-LCHlch(44.46, 68.28, 313.23°)
OKLaboklab(54.12% 0.1033 -0.1404)
OKLCHoklch(54.12% 0.174 306.3)
XYZxyz(22.0843, 14.1616, 49.7043)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894CBD #80BD4C
analogous
#514CBD #894CBD #BD4CB9
triadic
#894CBD #BD894C #4CBD89
tetradic
#894CBD #BD514C #80BD4C #4CB9BD
square
#894CBD #BD514C #80BD4C #4CB9BD
split-complementary
#894CBD #B9BD4C #4CBD51
monochromatic
#4A2668 #6A3795 #894CBD #A679CD #C4A5DE

Accessibility & contrast

On white

5.48
#894CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#894CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894CBD
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894CBD#FFFFFF#000000##FFFFFF
##894CBD1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1967C1
Deuteranopia (green-blind)
#376ABA
Tritanopia (blue-blind)
#80627D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #894cbd;
/* rgb */ color: rgb(137, 76, 189);
/* oklch */ color: oklch(54.1% 0.174 306.3);
Tailwind
colors: {
  custom: {
    50: '#af81d1',
    500: '#894cbd',
    950: '#000000',
  },
}
SCSS
$custom: #894cbd;
$custom-light: #af81d1;
$custom-dark: #000000;
JSON
{
  "hex": "#894cbd",
  "rgb": {
    "r": 137,
    "g": 76,
    "b": 189
  },
  "hsl": {
    "h": 272.389,
    "s": 46.122,
    "l": 51.961
  },
  "oklch": {
    "l": 0.54124,
    "c": 0.17431,
    "h": 306.3
  },
  "luminance": 0.14161
}

Semantic roles & 50–950 ramp

primary
#894CBD
secondary
#B0CB9A
accent
#D6528F
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82

Preview Lab

Preview with #894CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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