#894AC2#894AC2

#894AC2 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.2% C 0.183 H 305.3°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#894AC2
RGBrgb(137, 74, 194)
HSLhsl(272, 50%, 53%)
HSVhsv(272, 62%, 76%)
CMYKcmyk(29.4%, 61.9%, 0%, 23.9%)
CIE-LABlab(44.39, 49.00, -52.77)
CIE-LCHlch(44.39, 72.01, 312.88°)
OKLaboklab(54.17% 0.1056 -0.1493)
OKLCHoklch(54.17% 0.183 305.3)
XYZxyz(22.5008, 14.1111, 52.5668)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894AC2 #83C24A
analogous
#4D4AC2 #894AC2 #C24ABF
triadic
#894AC2 #C2894A #4AC289
tetradic
#894AC2 #C24D4A #83C24A #4ABFC2
square
#894AC2 #C24D4A #83C24A #4ABFC2
split-complementary
#894AC2 #BFC24A #4AC24D
monochromatic
#4B256D #6A349B #894AC2 #A778D1 #C5A6E1

Accessibility & contrast

On white

5.49
#894AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#894AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894AC2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894AC2#FFFFFF#000000##FFFFFF
##894AC21.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#2E69BF
Tritanopia (blue-blind)
#7F637F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #894ac2;
/* rgb */ color: rgb(137, 74, 194);
/* oklch */ color: oklch(54.2% 0.183 305.3);
Tailwind
colors: {
  custom: {
    50: '#af80d5',
    500: '#894ac2',
    950: '#000000',
  },
}
SCSS
$custom: #894ac2;
$custom-light: #af80d5;
$custom-dark: #000000;
JSON
{
  "hex": "#894ac2",
  "rgb": {
    "r": 137,
    "g": 74,
    "b": 194
  },
  "hsl": {
    "h": 271.5,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54172,
    "c": 0.18287,
    "h": 305.3
  },
  "luminance": 0.14111
}

Semantic roles & 50–950 ramp

primary
#894AC2
secondary
#B3CE9A
accent
#D94F90
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #894AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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