#894CC7#894CC7

#894CC7 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.8% C 0.186 H 303.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#894CC7
RGBrgb(137, 76, 199)
HSLhsl(270, 52%, 54%)
HSVhsv(270, 62%, 78%)
CMYKcmyk(31.2%, 61.8%, 0%, 22%)
CIE-LABlab(45.10, 49.16, -54.54)
CIE-LCHlch(45.10, 73.43, 312.03°)
OKLaboklab(54.79% 0.103 -0.1545)
OKLCHoklch(54.79% 0.186 303.7)
XYZxyz(23.2074, 14.6108, 55.6193)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894CC7 #8AC74C
analogous
#4C4DC7 #894CC7 #C64CC7
triadic
#894CC7 #C7894C #4CC789
tetradic
#894CC7 #C74C4D #8AC74C #4CC7C6
square
#894CC7 #C74C4D #8AC74C #4CC7C6
split-complementary
#894CC7 #C7C64C #4DC74C
monochromatic
#4C2474 #6A33A3 #894CC7 #A87BD6 #C6A9E4

Accessibility & contrast

On white

5.35
#894CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#894CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894CC7
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894CC7#FFFFFF#000000##FFFFFF
##894CC71.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#2B6BC4
Tritanopia (blue-blind)
#7D6682
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #894cc7;
/* rgb */ color: rgb(137, 76, 199);
/* oklch */ color: oklch(54.8% 0.186 303.7);
Tailwind
colors: {
  custom: {
    50: '#af81d9',
    500: '#894cc7',
    950: '#000000',
  },
}
SCSS
$custom: #894cc7;
$custom-light: #af81d9;
$custom-dark: #000000;
JSON
{
  "hex": "#894cc7",
  "rgb": {
    "r": 137,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 269.756,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54786,
    "c": 0.18567,
    "h": 303.7
  },
  "luminance": 0.14611
}

Semantic roles & 50–950 ramp

primary
#894CC7
secondary
#B8D29D
accent
#DC4C94
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B15
muted
#807C83

Preview Lab

Preview with #894CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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