#894FC5#894FC5

#894FC5 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.1% C 0.179 H 303.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#894FC5
RGBrgb(137, 79, 197)
HSLhsl(269, 50%, 54%)
HSVhsv(269, 60%, 77%)
CMYKcmyk(30.5%, 59.9%, 0%, 22.7%)
CIE-LABlab(45.55, 47.11, -52.64)
CIE-LCHlch(45.55, 70.64, 311.82°)
OKLaboklab(55.08% 0.0994 -0.1489)
OKLCHoklch(55.08% 0.179 303.7)
XYZxyz(23.1883, 14.9416, 54.4749)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894FC5 #8BC54F
analogous
#4F50C5 #894FC5 #C44FC5
triadic
#894FC5 #C5894F #4FC589
tetradic
#894FC5 #C54F50 #8BC54F #4FC5C4
square
#894FC5 #C54F50 #8BC54F #4FC5C4
split-complementary
#894FC5 #C5C44F #50C54F
monochromatic
#4C2674 #6A35A2 #894FC5 #A87DD4 #C7ABE3

Accessibility & contrast

On white

5.27
#894FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#894FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894FC5
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894FC5#FFFFFF#000000##FFFFFF
##894FC51.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126AC9
Deuteranopia (green-blind)
#326CC2
Tritanopia (blue-blind)
#7E6782
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #894fc5;
/* rgb */ color: rgb(137, 79, 197);
/* oklch */ color: oklch(55.1% 0.179 303.7);
Tailwind
colors: {
  custom: {
    50: '#af83d7',
    500: '#894fc5',
    950: '#000000',
  },
}
SCSS
$custom: #894fc5;
$custom-light: #af83d7;
$custom-dark: #000000;
JSON
{
  "hex": "#894fc5",
  "rgb": {
    "r": 137,
    "g": 79,
    "b": 197
  },
  "hsl": {
    "h": 269.492,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55079,
    "c": 0.17908,
    "h": 303.7
  },
  "luminance": 0.14942
}

Semantic roles & 50–950 ramp

primary
#894FC5
secondary
#B8D19F
accent
#DA4E95
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #894FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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