#894CBB#894CBB

#894CBB is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.0% C 0.172 H 306.9°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#894CBB
RGBrgb(137, 76, 187)
HSLhsl(273, 45%, 52%)
HSVhsv(273, 59%, 73%)
CMYKcmyk(26.7%, 59.4%, 0%, 26.7%)
CIE-LABlab(44.34, 46.29, -48.78)
CIE-LCHlch(44.34, 67.25, 313.50°)
OKLaboklab(54% 0.1033 -0.1376)
OKLCHoklch(54% 0.172 306.9)
XYZxyz(21.8687, 14.0753, 48.5688)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894CBB #7EBB4C
analogous
#524CBB #894CBB #BB4CB6
triadic
#894CBB #BB894C #4CBB89
tetradic
#894CBB #BB524C #7EBB4C #4CB6BB
square
#894CBB #BB524C #7EBB4C #4CB6BB
split-complementary
#894CBB #B6BB4C #4CBB52
monochromatic
#492766 #693892 #894CBB #A678CC #C3A5DD

Accessibility & contrast

On white

5.50
#894CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#894CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894CBB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894CBB#FFFFFF#000000##FFFFFF
##894CBB1.005.503.815.50
#FFFFFF5.501.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D67BF
Deuteranopia (green-blind)
#3969B8
Tritanopia (blue-blind)
#81627C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #894cbb;
/* rgb */ color: rgb(137, 76, 187);
/* oklch */ color: oklch(54.0% 0.172 306.9);
Tailwind
colors: {
  custom: {
    50: '#af81d0',
    500: '#894cbb',
    950: '#000000',
  },
}
SCSS
$custom: #894cbb;
$custom-light: #af81d0;
$custom-dark: #000000;
JSON
{
  "hex": "#894cbb",
  "rgb": {
    "r": 137,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 272.973,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53995,
    "c": 0.17204,
    "h": 306.9
  },
  "luminance": 0.14075
}

Semantic roles & 50–950 ramp

primary
#894CBB
secondary
#AFCA99
accent
#D5538D
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82

Preview Lab

Preview with #894CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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