#894FC4#894FC4

#894FC4 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.0% C 0.178 H 304.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#894FC4
RGBrgb(137, 79, 196)
HSLhsl(270, 50%, 54%)
HSVhsv(270, 60%, 77%)
CMYKcmyk(30.1%, 59.7%, 0%, 23.1%)
CIE-LABlab(45.49, 46.86, -52.17)
CIE-LCHlch(45.49, 70.13, 311.93°)
OKLaboklab(55.01% 0.0994 -0.1475)
OKLCHoklch(55.01% 0.178 304)
XYZxyz(23.0741, 14.8959, 53.8735)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894FC4 #8AC44F
analogous
#4F50C4 #894FC4 #C44FC4
triadic
#894FC4 #C4894F #4FC489
tetradic
#894FC4 #C44F50 #8AC44F #4FC4C4
square
#894FC4 #C44F50 #8AC44F #4FC4C4
split-complementary
#894FC4 #C4C44F #50C44F
monochromatic
#4C2672 #6A36A0 #894FC4 #A87DD3 #C6ABE3

Accessibility & contrast

On white

5.28
#894FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#894FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894FC4
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894FC4#FFFFFF#000000##FFFFFF
##894FC41.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#156AC8
Deuteranopia (green-blind)
#336CC1
Tritanopia (blue-blind)
#7E6782
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #894fc4;
/* rgb */ color: rgb(137, 79, 196);
/* oklch */ color: oklch(55.0% 0.178 304.0);
Tailwind
colors: {
  custom: {
    50: '#af83d6',
    500: '#894fc4',
    950: '#000000',
  },
}
SCSS
$custom: #894fc4;
$custom-light: #af83d6;
$custom-dark: #000000;
JSON
{
  "hex": "#894fc4",
  "rgb": {
    "r": 137,
    "g": 79,
    "b": 196
  },
  "hsl": {
    "h": 269.744,
    "s": 49.787,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55013,
    "c": 0.17793,
    "h": 304
  },
  "luminance": 0.14896
}

Semantic roles & 50–950 ramp

primary
#894FC4
secondary
#B8D09E
accent
#D94E94
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #894FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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