#894EA8#894EA8

#894EA8 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.1% C 0.147 H 312.7°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#894EA8
RGBrgb(137, 78, 168)
HSLhsl(279, 37%, 48%)
HSVhsv(279, 54%, 66%)
CMYKcmyk(18.5%, 53.6%, 0%, 34.1%)
CIE-LABlab(43.65, 40.83, -38.71)
CIE-LCHlch(43.65, 56.27, 316.53°)
OKLaboklab(53.13% 0.0998 -0.1082)
OKLCHoklch(53.13% 0.147 312.7)
XYZxyz(20.1076, 13.5948, 38.6030)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894EA8 #6DA84E
analogous
#5C4EA8 #894EA8 #A84E9A
triadic
#894EA8 #A8894E #4EA889
tetradic
#894EA8 #A85C4E #6DA84E #4E9AA8
square
#894EA8 #A85C4E #6DA84E #4E9AA8
split-complementary
#894EA8 #9AA84E #4EA85C
monochromatic
#452754 #673B7E #894EA8 #A575BF #C09ED2

Accessibility & contrast

On white

5.65
#894EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#894EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894EA8
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894EA8#FFFFFF#000000##FFFFFF
##894EA81.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3764AB
Deuteranopia (green-blind)
#4A69A6
Tritanopia (blue-blind)
#865D73
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #894ea8;
/* rgb */ color: rgb(137, 78, 168);
/* oklch */ color: oklch(53.1% 0.147 312.7);
Tailwind
colors: {
  custom: {
    50: '#ae82c2',
    500: '#894ea8',
    950: '#000000',
  },
}
SCSS
$custom: #894ea8;
$custom-light: #ae82c2;
$custom-dark: #000000;
JSON
{
  "hex": "#894ea8",
  "rgb": {
    "r": 137,
    "g": 78,
    "b": 168
  },
  "hsl": {
    "h": 279.333,
    "s": 36.585,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5313,
    "c": 0.1472,
    "h": 312.7
  },
  "luminance": 0.13594
}

Semantic roles & 50–950 ramp

primary
#894EA8
secondary
#A2BF93
accent
#CD5B82
background
#FAF8FC
surface
#F5EFF8
border
#CFCAD1
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #894EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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