#894BAC#894BAC

#894BAC is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.9% C 0.157 H 311.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#894BAC
RGBrgb(137, 75, 172)
HSLhsl(278, 39%, 48%)
HSVhsv(278, 56%, 67%)
CMYKcmyk(20.3%, 56.4%, 0%, 32.5%)
CIE-LABlab(43.26, 43.35, -41.70)
CIE-LCHlch(43.26, 60.15, 316.11°)
OKLaboklab(52.92% 0.1042 -0.1169)
OKLCHoklch(52.92% 0.157 311.7)
XYZxyz(20.2777, 13.3295, 40.5264)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894BAC #6EAC4B
analogous
#594BAC #894BAC #AC4B9E
triadic
#894BAC #AC894B #4BAC89
tetradic
#894BAC #AC594B #6EAC4B #4B9EAC
square
#894BAC #AC594B #6EAC4B #4B9EAC
split-complementary
#894BAC #9EAC4B #4BAC59
monochromatic
#452657 #673881 #894BAC #A572C2 #C09DD4

Accessibility & contrast

On white

5.73
#894BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#894BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894BAC
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894BAC#FFFFFF#000000##FFFFFF
##894BAC1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E63AF
Deuteranopia (green-blind)
#4467AA
Tritanopia (blue-blind)
#855C74
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #894bac;
/* rgb */ color: rgb(137, 75, 172);
/* oklch */ color: oklch(52.9% 0.157 311.7);
Tailwind
colors: {
  custom: {
    50: '#ae80c5',
    500: '#894bac',
    950: '#000000',
  },
}
SCSS
$custom: #894bac;
$custom-light: #ae80c5;
$custom-dark: #000000;
JSON
{
  "hex": "#894bac",
  "rgb": {
    "r": 137,
    "g": 75,
    "b": 172
  },
  "hsl": {
    "h": 278.351,
    "s": 39.271,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52915,
    "c": 0.15659,
    "h": 311.7
  },
  "luminance": 0.13329
}

Semantic roles & 50–950 ramp

primary
#894BAC
secondary
#A3C192
accent
#CF5983
background
#FAF7FC
surface
#F5EEF8
border
#CFC9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #894BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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