#894DBB#894DBB

#894DBB is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.1% C 0.171 H 306.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#894DBB
RGBrgb(137, 77, 187)
HSLhsl(273, 45%, 52%)
HSVhsv(273, 59%, 73%)
CMYKcmyk(26.7%, 58.8%, 0%, 26.7%)
CIE-LABlab(44.54, 45.77, -48.46)
CIE-LCHlch(44.54, 66.66, 313.36°)
OKLaboklab(54.14% 0.102 -0.1367)
OKLCHoklch(54.14% 0.171 306.7)
XYZxyz(21.9382, 14.2142, 48.5920)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894DBB #7FBB4D
analogous
#524DBB #894DBB #BB4DB6
triadic
#894DBB #BB894D #4DBB89
tetradic
#894DBB #BB524D #7FBB4D #4DB6BB
square
#894DBB #BB524D #7FBB4D #4DB6BB
split-complementary
#894DBB #B6BB4D #4DBB52
monochromatic
#4A2766 #6A3893 #894DBB #A679CC #C4A6DD

Accessibility & contrast

On white

5.46
#894DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#894DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894DBB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894DBB#FFFFFF#000000##FFFFFF
##894DBB1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2067BF
Deuteranopia (green-blind)
#3A6AB8
Tritanopia (blue-blind)
#81627D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #894dbb;
/* rgb */ color: rgb(137, 77, 187);
/* oklch */ color: oklch(54.1% 0.171 306.7);
Tailwind
colors: {
  custom: {
    50: '#af81d0',
    500: '#894dbb',
    950: '#000000',
  },
}
SCSS
$custom: #894dbb;
$custom-light: #af81d0;
$custom-dark: #000000;
JSON
{
  "hex": "#894dbb",
  "rgb": {
    "r": 137,
    "g": 77,
    "b": 187
  },
  "hsl": {
    "h": 272.727,
    "s": 44.715,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54139,
    "c": 0.17053,
    "h": 306.7
  },
  "luminance": 0.14214
}

Semantic roles & 50–950 ramp

primary
#894DBB
secondary
#B0CA9A
accent
#D4538E
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #894DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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