#894DB2#894DB2

#894DB2 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.6% C 0.160 H 309.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#894DB2
RGBrgb(137, 77, 178)
HSLhsl(276, 40%, 50%)
HSVhsv(276, 57%, 70%)
CMYKcmyk(23%, 56.7%, 0%, 30.2%)
CIE-LABlab(44.00, 43.66, -44.04)
CIE-LCHlch(44.00, 62.02, 314.75°)
OKLaboklab(53.58% 0.1018 -0.1237)
OKLCHoklch(53.58% 0.16 309.4)
XYZxyz(21.0047, 13.8408, 43.6759)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894DB2 #76B24D
analogous
#574DB2 #894DB2 #B24DA8
triadic
#894DB2 #B2894D #4DB289
tetradic
#894DB2 #B2574D #76B24D #4DA8B2
square
#894DB2 #B2574D #76B24D #4DA8B2
split-complementary
#894DB2 #A8B24D #4DB257
monochromatic
#47285D #683B87 #894DB2 #A578C4 #C2A2D7

Accessibility & contrast

On white

5.57
#894DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#894DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894DB2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894DB2#FFFFFF#000000##FFFFFF
##894DB21.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C65B5
Deuteranopia (green-blind)
#4269B0
Tritanopia (blue-blind)
#835F78
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #894db2;
/* rgb */ color: rgb(137, 77, 178);
/* oklch */ color: oklch(53.6% 0.160 309.4);
Tailwind
colors: {
  custom: {
    50: '#ae81c9',
    500: '#894db2',
    950: '#000000',
  },
}
SCSS
$custom: #894db2;
$custom-light: #ae81c9;
$custom-dark: #000000;
JSON
{
  "hex": "#894db2",
  "rgb": {
    "r": 137,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 275.644,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.53575,
    "c": 0.16023,
    "h": 309.4
  },
  "luminance": 0.1384
}

Semantic roles & 50–950 ramp

primary
#894DB2
secondary
#A9C497
accent
#CF5889
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82

Preview Lab

Preview with #894DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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