#894BC5#894BC5

#894BC5 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.5% C 0.185 H 304.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#894BC5
RGBrgb(137, 75, 197)
HSLhsl(270, 51%, 53%)
HSVhsv(270, 62%, 77%)
CMYKcmyk(30.5%, 61.9%, 0%, 22.7%)
CIE-LABlab(44.78, 49.20, -53.90)
CIE-LCHlch(44.78, 72.98, 312.39°)
OKLaboklab(54.51% 0.1043 -0.1526)
OKLCHoklch(54.51% 0.185 304.3)
XYZxyz(22.9084, 14.3818, 54.3816)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894BC5 #87C54B
analogous
#4C4BC5 #894BC5 #C54BC4
triadic
#894BC5 #C5894B #4BC589
tetradic
#894BC5 #C54C4B #87C54B #4BC4C5
square
#894BC5 #C54C4B #87C54B #4BC4C5
split-complementary
#894BC5 #C4C54B #4BC54C
monochromatic
#4B2471 #6A339F #894BC5 #A779D4 #C6A8E3

Accessibility & contrast

On white

5.42
#894BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#894BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894BC5
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894BC5#FFFFFF#000000##FFFFFF
##894BC51.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#2C6AC2
Tritanopia (blue-blind)
#7E6481
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #894bc5;
/* rgb */ color: rgb(137, 75, 197);
/* oklch */ color: oklch(54.5% 0.185 304.3);
Tailwind
colors: {
  custom: {
    50: '#af80d7',
    500: '#894bc5',
    950: '#000000',
  },
}
SCSS
$custom: #894bc5;
$custom-light: #af80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#894bc5",
  "rgb": {
    "r": 137,
    "g": 75,
    "b": 197
  },
  "hsl": {
    "h": 270.492,
    "s": 51.261,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54512,
    "c": 0.18482,
    "h": 304.3
  },
  "luminance": 0.14382
}

Semantic roles & 50–950 ramp

primary
#894BC5
secondary
#B5D09C
accent
#DB4D93
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #894BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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