#894F97#894F97

#894F97 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 52.4% C 0.126 H 319.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#894F97
RGBrgb(137, 79, 151)
HSLhsl(288, 31%, 45%)
HSVhsv(288, 48%, 59%)
CMYKcmyk(9.3%, 47.7%, 0%, 40.8%)
CIE-LABlab(42.98, 36.56, -29.63)
CIE-LCHlch(42.98, 47.06, 320.98°)
OKLaboklab(52.35% 0.0962 -0.0819)
OKLCHoklch(52.35% 0.126 319.6)
XYZxyz(18.6977, 13.1454, 30.8245)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894F97 #5D974F
analogous
#654F97 #894F97 #974F81
triadic
#894F97 #97894F #4F9789
tetradic
#894F97 #97654F #5D974F #4F8197
square
#894F97 #97654F #5D974F #4F8197
split-complementary
#894F97 #81974F #4F9765
monochromatic
#402547 #653A6F #894F97 #A76FB4 #BF98C9

Accessibility & contrast

On white

5.79
#894F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#894F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894F97
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894F97#FFFFFF#000000##FFFFFF
##894F971.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446199
Deuteranopia (green-blind)
#546895
Tritanopia (blue-blind)
#8A596C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #894f97;
/* rgb */ color: rgb(137, 79, 151);
/* oklch */ color: oklch(52.4% 0.126 319.6);
Tailwind
colors: {
  custom: {
    50: '#ad82b6',
    500: '#894f97',
    950: '#000000',
  },
}
SCSS
$custom: #894f97;
$custom-light: #ad82b6;
$custom-dark: #000000;
JSON
{
  "hex": "#894f97",
  "rgb": {
    "r": 137,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 288.333,
    "s": 31.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52352,
    "c": 0.12634,
    "h": 319.6
  },
  "luminance": 0.13145
}

Semantic roles & 50–950 ramp

primary
#894F97
secondary
#94B68C
accent
#C76074
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #894F97

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

Preview Lab → · Contrast checker → · Palette generator →

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