#894FD7#894FD7

#894FD7 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.3% C 0.200 H 299.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#894FD7
RGBrgb(137, 79, 215)
HSLhsl(266, 63%, 58%)
HSVhsv(266, 63%, 84%)
CMYKcmyk(36.3%, 63.3%, 0%, 15.7%)
CIE-LABlab(46.73, 51.55, -61.10)
CIE-LCHlch(46.73, 79.94, 310.16°)
OKLaboklab(56.31% 0.0985 -0.1738)
OKLCHoklch(56.31% 0.2 299.5)
XYZxyz(25.3752, 15.8164, 65.9928)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894FD7 #9DD74F
analogous
#4F59D7 #894FD7 #CD4FD7
triadic
#894FD7 #D7894F #4FD789
tetradic
#894FD7 #D74F59 #9DD74F #4FD7CD
square
#894FD7 #D74F59 #9DD74F #4FD7CD
split-complementary
#894FD7 #D7CD4F #59D74F
monochromatic
#4E208C #6A2BBE #894FD7 #AA81E2 #CCB3EE

Accessibility & contrast

On white

5.04
#894FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#894FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894FD7
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894FD7#FFFFFF#000000##FFFFFF
##894FD71.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDB
Deuteranopia (green-blind)
#0E6ED4
Tritanopia (blue-blind)
#786D8C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #894fd7;
/* rgb */ color: rgb(137, 79, 215);
/* oklch */ color: oklch(56.3% 0.200 299.5);
Tailwind
colors: {
  custom: {
    50: '#b183e4',
    500: '#894fd7',
    950: '#000000',
  },
}
SCSS
$custom: #894fd7;
$custom-light: #b183e4;
$custom-dark: #000000;
JSON
{
  "hex": "#894fd7",
  "rgb": {
    "r": 137,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 265.588,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5631,
    "c": 0.19975,
    "h": 299.5
  },
  "luminance": 0.15817
}

Semantic roles & 50–950 ramp

primary
#894FD7
secondary
#C5DCA6
accent
#E642A0
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #894FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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