#894FBD#894FBD

#894FBD is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.6% C 0.170 H 305.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#894FBD
RGBrgb(137, 79, 189)
HSLhsl(272, 45%, 53%)
HSVhsv(272, 58%, 74%)
CMYKcmyk(27.5%, 58.2%, 0%, 25.9%)
CIE-LABlab(45.06, 45.18, -48.79)
CIE-LCHlch(45.06, 66.50, 312.80°)
OKLaboklab(54.56% 0.0995 -0.1376)
OKLCHoklch(54.56% 0.17 305.9)
XYZxyz(22.2959, 14.5846, 49.7748)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894FBD #83BD4F
analogous
#524FBD #894FBD #BD4FBA
triadic
#894FBD #BD894F #4FBD89
tetradic
#894FBD #BD524F #83BD4F #4FBABD
square
#894FBD #BD524F #83BD4F #4FBABD
split-complementary
#894FBD #BABD4F #4FBD52
monochromatic
#4B286A #6A3896 #894FBD #A77CCE #C5A8DE

Accessibility & contrast

On white

5.36
#894FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#894FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894FBD
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894FBD#FFFFFF#000000##FFFFFF
##894FBD1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2269C1
Deuteranopia (green-blind)
#3B6BBA
Tritanopia (blue-blind)
#80647E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #894fbd;
/* rgb */ color: rgb(137, 79, 189);
/* oklch */ color: oklch(54.6% 0.170 305.9);
Tailwind
colors: {
  custom: {
    50: '#af83d1',
    500: '#894fbd',
    950: '#000000',
  },
}
SCSS
$custom: #894fbd;
$custom-light: #af83d1;
$custom-dark: #000000;
JSON
{
  "hex": "#894fbd",
  "rgb": {
    "r": 137,
    "g": 79,
    "b": 189
  },
  "hsl": {
    "h": 271.636,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54559,
    "c": 0.16982,
    "h": 305.9
  },
  "luminance": 0.14584
}

Semantic roles & 50–950 ramp

primary
#894FBD
secondary
#B3CC9C
accent
#D55390
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #894FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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