#894DBE#894DBE

#894DBE is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.3% C 0.174 H 305.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#894DBE
RGBrgb(137, 77, 190)
HSLhsl(272, 47%, 52%)
HSVhsv(272, 59%, 75%)
CMYKcmyk(27.9%, 59.5%, 0%, 25.5%)
CIE-LABlab(44.72, 46.48, -49.92)
CIE-LCHlch(44.72, 68.20, 312.96°)
OKLaboklab(54.33% 0.102 -0.1409)
OKLCHoklch(54.33% 0.174 305.9)
XYZxyz(22.2627, 14.3440, 50.3011)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894DBE #82BE4D
analogous
#504DBE #894DBE #BE4DBB
triadic
#894DBE #BE894D #4DBE89
tetradic
#894DBE #BE504D #82BE4D #4DBBBE
square
#894DBE #BE504D #82BE4D #4DBBBE
split-complementary
#894DBE #BBBE4D #4DBE50
monochromatic
#4A276A #6A3797 #894DBE #A77ACE #C4A7DF

Accessibility & contrast

On white

5.43
#894DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#894DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894DBE
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894DBE#FFFFFF#000000##FFFFFF
##894DBE1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B68C2
Deuteranopia (green-blind)
#376ABB
Tritanopia (blue-blind)
#80637E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #894dbe;
/* rgb */ color: rgb(137, 77, 190);
/* oklch */ color: oklch(54.3% 0.174 305.9);
Tailwind
colors: {
  custom: {
    50: '#af82d2',
    500: '#894dbe',
    950: '#000000',
  },
}
SCSS
$custom: #894dbe;
$custom-light: #af82d2;
$custom-dark: #000000;
JSON
{
  "hex": "#894dbe",
  "rgb": {
    "r": 137,
    "g": 77,
    "b": 190
  },
  "hsl": {
    "h": 271.858,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54332,
    "c": 0.17396,
    "h": 305.9
  },
  "luminance": 0.14344
}

Semantic roles & 50–950 ramp

primary
#894DBE
secondary
#B2CC9B
accent
#D65290
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #894DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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