#894FBF#894FBF

#894FBF is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.7% C 0.172 H 305.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#894FBF
RGBrgb(137, 79, 191)
HSLhsl(271, 47%, 53%)
HSVhsv(271, 59%, 75%)
CMYKcmyk(28.3%, 58.6%, 0%, 25.1%)
CIE-LABlab(45.18, 45.65, -49.76)
CIE-LCHlch(45.18, 67.53, 312.54°)
OKLaboklab(54.69% 0.0995 -0.1405)
OKLCHoklch(54.69% 0.172 305.3)
XYZxyz(22.5144, 14.6721, 50.9260)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894FBF #85BF4F
analogous
#514FBF #894FBF #BF4FBD
triadic
#894FBF #BF894F #4FBF89
tetradic
#894FBF #BF514F #85BF4F #4FBDBF
square
#894FBF #BF514F #85BF4F #4FBDBF
split-complementary
#894FBF #BDBF4F #4FBF51
monochromatic
#4B276C #6A3899 #894FBF #A77CCF #C5A9E0

Accessibility & contrast

On white

5.34
#894FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #894FBF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894FBF#FFFFFF#000000##FFFFFF
##894FBF1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F69C3
Deuteranopia (green-blind)
#396BBC
Tritanopia (blue-blind)
#80657F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #894fbf;
/* rgb */ color: rgb(137, 79, 191);
/* oklch */ color: oklch(54.7% 0.172 305.3);
Tailwind
colors: {
  custom: {
    50: '#af83d3',
    500: '#894fbf',
    950: '#000000',
  },
}
SCSS
$custom: #894fbf;
$custom-light: #af83d3;
$custom-dark: #000000;
JSON
{
  "hex": "#894fbf",
  "rgb": {
    "r": 137,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 271.071,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54687,
    "c": 0.17214,
    "h": 305.3
  },
  "luminance": 0.14672
}

Semantic roles & 50–950 ramp

primary
#894FBF
secondary
#B4CD9D
accent
#D65192
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #894FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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