#894FC7#894FC7

#894FC7 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.2% C 0.181 H 303.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#894FC7
RGBrgb(137, 79, 199)
HSLhsl(269, 52%, 55%)
HSVhsv(269, 60%, 78%)
CMYKcmyk(31.2%, 60.3%, 0%, 22%)
CIE-LABlab(45.68, 47.59, -53.60)
CIE-LCHlch(45.68, 71.68, 311.60°)
OKLaboklab(55.21% 0.0994 -0.1517)
OKLCHoklch(55.21% 0.181 303.2)
XYZxyz(23.4190, 15.0339, 55.6898)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894FC7 #8DC74F
analogous
#4F51C7 #894FC7 #C54FC7
triadic
#894FC7 #C7894F #4FC789
tetradic
#894FC7 #C74F51 #8DC74F #4FC7C5
square
#894FC7 #C74F51 #8DC74F #4FC7C5
split-complementary
#894FC7 #C7C54F #51C74F
monochromatic
#4C2676 #6B34A4 #894FC7 #A87DD6 #C7ACE5

Accessibility & contrast

On white

5.24
#894FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#894FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894FC7
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894FC7#FFFFFF#000000##FFFFFF
##894FC71.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B6BCB
Deuteranopia (green-blind)
#2F6CC4
Tritanopia (blue-blind)
#7D6883
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #894fc7;
/* rgb */ color: rgb(137, 79, 199);
/* oklch */ color: oklch(55.2% 0.181 303.2);
Tailwind
colors: {
  custom: {
    50: '#af83d9',
    500: '#894fc7',
    950: '#000000',
  },
}
SCSS
$custom: #894fc7;
$custom-light: #af83d9;
$custom-dark: #000000;
JSON
{
  "hex": "#894fc7",
  "rgb": {
    "r": 137,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 269,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55211,
    "c": 0.18138,
    "h": 303.2
  },
  "luminance": 0.15034
}

Semantic roles & 50–950 ramp

primary
#894FC7
secondary
#BAD2A0
accent
#DB4D96
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B15
muted
#807C83

Preview Lab

Preview with #894FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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