#894FC2#894FC2

#894FC2 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.9% C 0.176 H 304.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#894FC2
RGBrgb(137, 79, 194)
HSLhsl(270, 49%, 54%)
HSVhsv(270, 59%, 76%)
CMYKcmyk(29.4%, 59.3%, 0%, 23.9%)
CIE-LABlab(45.37, 46.38, -51.21)
CIE-LCHlch(45.37, 69.09, 312.17°)
OKLaboklab(54.88% 0.0995 -0.1447)
OKLCHoklch(54.88% 0.176 304.5)
XYZxyz(22.8480, 14.8055, 52.6825)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894FC2 #88C24F
analogous
#4F4FC2 #894FC2 #C24FC1
triadic
#894FC2 #C2894F #4FC289
tetradic
#894FC2 #C24F4F #88C24F #4FC1C2
square
#894FC2 #C24F4F #88C24F #4FC1C2
split-complementary
#894FC2 #C1C24F #4FC24F
monochromatic
#4C2770 #6A379D #894FC2 #A77CD2 #C6AAE2

Accessibility & contrast

On white

5.30
#894FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#894FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894FC2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894FC2#FFFFFF#000000##FFFFFF
##894FC21.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196AC6
Deuteranopia (green-blind)
#356BBF
Tritanopia (blue-blind)
#7F6681
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #894fc2;
/* rgb */ color: rgb(137, 79, 194);
/* oklch */ color: oklch(54.9% 0.176 304.5);
Tailwind
colors: {
  custom: {
    50: '#af83d5',
    500: '#894fc2',
    950: '#000000',
  },
}
SCSS
$custom: #894fc2;
$custom-light: #af83d5;
$custom-dark: #000000;
JSON
{
  "hex": "#894fc2",
  "rgb": {
    "r": 137,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 270.261,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54882,
    "c": 0.1756,
    "h": 304.5
  },
  "luminance": 0.14805
}

Semantic roles & 50–950 ramp

primary
#894FC2
secondary
#B6CF9E
accent
#D85093
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #894FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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