#894E9D#894E9D

#894E9D is a mid, vivid purple. Relative luminance 0.132; OKLCH L 52.5% C 0.135 H 317.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#894E9D
RGBrgb(137, 78, 157)
HSLhsl(285, 34%, 46%)
HSVhsv(285, 50%, 62%)
CMYKcmyk(12.7%, 50.3%, 0%, 38.4%)
CIE-LABlab(43.07, 38.40, -33.09)
CIE-LCHlch(43.07, 50.69, 319.25°)
OKLaboklab(52.51% 0.0986 -0.0918)
OKLCHoklch(52.51% 0.135 317)
XYZxyz(19.1258, 13.2021, 33.4325)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894E9D #629D4E
analogous
#614E9D #894E9D #9D4E89
triadic
#894E9D #9D894E #4E9D89
tetradic
#894E9D #9D614E #629D4E #4E899D
square
#894E9D #9D614E #629D4E #4E899D
split-complementary
#894E9D #899D4E #4E9D61
monochromatic
#42254B #653A74 #894E9D #A670B8 #BF99CC

Accessibility & contrast

On white

5.77
#894E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#894E9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894E9D
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894E9D#FFFFFF#000000##FFFFFF
##894E9D1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F62A0
Deuteranopia (green-blind)
#50689B
Tritanopia (blue-blind)
#88596E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #894e9d;
/* rgb */ color: rgb(137, 78, 157);
/* oklch */ color: oklch(52.5% 0.135 317.0);
Tailwind
colors: {
  custom: {
    50: '#ad82ba',
    500: '#894e9d',
    950: '#000000',
  },
}
SCSS
$custom: #894e9d;
$custom-light: #ad82ba;
$custom-dark: #000000;
JSON
{
  "hex": "#894e9d",
  "rgb": {
    "r": 137,
    "g": 78,
    "b": 157
  },
  "hsl": {
    "h": 284.81,
    "s": 33.617,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52512,
    "c": 0.13475,
    "h": 317
  },
  "luminance": 0.13201
}

Semantic roles & 50–950 ramp

primary
#894E9D
secondary
#99B98E
accent
#CA5E79
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #894E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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