#894CB5#894CB5

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

Color values

HEX#894CB5
RGBrgb(137, 76, 181)
HSLhsl(275, 42%, 50%)
HSVhsv(275, 58%, 71%)
CMYKcmyk(24.3%, 58%, 0%, 29%)
CIE-LABlab(43.98, 44.89, -45.85)
CIE-LCHlch(43.98, 64.16, 314.39°)
OKLaboklab(53.61% 0.1032 -0.129)
OKLCHoklch(53.61% 0.165 308.7)
XYZxyz(21.2398, 13.8238, 45.2564)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894CB5 #78B54C
analogous
#544CB5 #894CB5 #B54CAD
triadic
#894CB5 #B5894C #4CB589
tetradic
#894CB5 #B5544C #78B54C #4CADB5
square
#894CB5 #B5544C #78B54C #4CADB5
split-complementary
#894CB5 #ADB54C #4CB554
monochromatic
#48275F #68398B #894CB5 #A677C7 #C2A3D9

Accessibility & contrast

On white

5.58
#894CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#894CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894CB5
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894CB5#FFFFFF#000000##FFFFFF
##894CB51.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2665B8
Deuteranopia (green-blind)
#3E69B2
Tritanopia (blue-blind)
#836079
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #894cb5;
/* rgb */ color: rgb(137, 76, 181);
/* oklch */ color: oklch(53.6% 0.165 308.7);
Tailwind
colors: {
  custom: {
    50: '#ae81cc',
    500: '#894cb5',
    950: '#000000',
  },
}
SCSS
$custom: #894cb5;
$custom-light: #ae81cc;
$custom-dark: #000000;
JSON
{
  "hex": "#894cb5",
  "rgb": {
    "r": 137,
    "g": 76,
    "b": 181
  },
  "hsl": {
    "h": 274.857,
    "s": 41.502,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53614,
    "c": 0.16521,
    "h": 308.7
  },
  "luminance": 0.13823
}

Semantic roles & 50–950 ramp

primary
#894CB5
secondary
#ABC697
accent
#D1568A
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A13
muted
#807C82

Preview Lab

Preview with #894CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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