#894DC7#894DC7

#894DC7 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.9% C 0.184 H 303.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#894DC7
RGBrgb(137, 77, 199)
HSLhsl(270, 52%, 54%)
HSVhsv(270, 61%, 78%)
CMYKcmyk(31.2%, 61.3%, 0%, 22%)
CIE-LABlab(45.29, 48.64, -54.23)
CIE-LCHlch(45.29, 72.85, 311.89°)
OKLaboklab(54.93% 0.1018 -0.1536)
OKLCHoklch(54.93% 0.184 303.5)
XYZxyz(23.2769, 14.7497, 55.6424)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894DC7 #8BC74D
analogous
#4D4EC7 #894DC7 #C64DC7
triadic
#894DC7 #C7894D #4DC789
tetradic
#894DC7 #C74D4E #8BC74D #4DC7C6
square
#894DC7 #C74D4E #8BC74D #4DC7C6
split-complementary
#894DC7 #C7C64D #4EC74D
monochromatic
#4C2575 #6A33A3 #894DC7 #A87CD6 #C7AAE4

Accessibility & contrast

On white

5.32
#894DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#894DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894DC7
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894DC7#FFFFFF#000000##FFFFFF
##894DC71.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACB
Deuteranopia (green-blind)
#2C6BC4
Tritanopia (blue-blind)
#7D6683
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #894dc7;
/* rgb */ color: rgb(137, 77, 199);
/* oklch */ color: oklch(54.9% 0.184 303.5);
Tailwind
colors: {
  custom: {
    50: '#af82d9',
    500: '#894dc7',
    950: '#000000',
  },
}
SCSS
$custom: #894dc7;
$custom-light: #af82d9;
$custom-dark: #000000;
JSON
{
  "hex": "#894dc7",
  "rgb": {
    "r": 137,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 269.508,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54927,
    "c": 0.18425,
    "h": 303.5
  },
  "luminance": 0.1475
}

Semantic roles & 50–950 ramp

primary
#894DC7
secondary
#B8D29E
accent
#DC4C95
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B15
muted
#807C83

Preview Lab

Preview with #894DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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