#894FBE#894FBE

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

Color values

HEX#894FBE
RGBrgb(137, 79, 190)
HSLhsl(271, 46%, 53%)
HSVhsv(271, 58%, 75%)
CMYKcmyk(27.9%, 58.4%, 0%, 25.5%)
CIE-LABlab(45.12, 45.42, -49.28)
CIE-LCHlch(45.12, 67.01, 312.66°)
OKLaboklab(54.62% 0.0995 -0.1391)
OKLCHoklch(54.62% 0.171 305.6)
XYZxyz(22.4048, 14.6282, 50.3484)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894FBE #84BE4F
analogous
#514FBE #894FBE #BE4FBC
triadic
#894FBE #BE894F #4FBE89
tetradic
#894FBE #BE514F #84BE4F #4FBCBE
square
#894FBE #BE514F #84BE4F #4FBCBE
split-complementary
#894FBE #BCBE4F #4FBE51
monochromatic
#4B286B #6A3898 #894FBE #A77CCF #C5A8DF

Accessibility & contrast

On white

5.35
#894FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#894FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894FBE
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894FBE#FFFFFF#000000##FFFFFF
##894FBE1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2169C2
Deuteranopia (green-blind)
#3A6BBB
Tritanopia (blue-blind)
#80657F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #894fbe;
/* rgb */ color: rgb(137, 79, 190);
/* oklch */ color: oklch(54.6% 0.171 305.6);
Tailwind
colors: {
  custom: {
    50: '#af83d2',
    500: '#894fbe',
    950: '#000000',
  },
}
SCSS
$custom: #894fbe;
$custom-light: #af83d2;
$custom-dark: #000000;
JSON
{
  "hex": "#894fbe",
  "rgb": {
    "r": 137,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 271.351,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54623,
    "c": 0.17098,
    "h": 305.6
  },
  "luminance": 0.14628
}

Semantic roles & 50–950 ramp

primary
#894FBE
secondary
#B3CC9C
accent
#D65291
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #894FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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