#894E9F#894E9F

#894E9F is a mid, vivid purple. Relative luminance 0.133; OKLCH L 52.6% C 0.137 H 316.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#894E9F
RGBrgb(137, 78, 159)
HSLhsl(284, 34%, 46%)
HSVhsv(284, 51%, 62%)
CMYKcmyk(13.8%, 50.9%, 0%, 37.6%)
CIE-LABlab(43.17, 38.84, -34.12)
CIE-LCHlch(43.17, 51.70, 318.70°)
OKLaboklab(52.62% 0.0989 -0.0948)
OKLCHoklch(52.62% 0.137 316.2)
XYZxyz(19.2980, 13.2709, 34.3392)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#894E9F #649F4E
analogous
#614E9F #894E9F #9F4E8D
triadic
#894E9F #9F894E #4E9F89
tetradic
#894E9F #9F614E #649F4E #4E8D9F
square
#894E9F #9F614E #649F4E #4E8D9F
split-complementary
#894E9F #8D9F4E #4E9F61
monochromatic
#42264D #663A76 #894E9F #A671B9 #BF9ACD

Accessibility & contrast

On white

5.75
#894E9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#894E9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #894E9F
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##894E9F#FFFFFF#000000##FFFFFF
##894E9F1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D62A2
Deuteranopia (green-blind)
#4F689D
Tritanopia (blue-blind)
#885A6F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #894e9f;
/* rgb */ color: rgb(137, 78, 159);
/* oklch */ color: oklch(52.6% 0.137 316.2);
Tailwind
colors: {
  custom: {
    50: '#ad82bc',
    500: '#894e9f',
    950: '#000000',
  },
}
SCSS
$custom: #894e9f;
$custom-light: #ad82bc;
$custom-dark: #000000;
JSON
{
  "hex": "#894e9f",
  "rgb": {
    "r": 137,
    "g": 78,
    "b": 159
  },
  "hsl": {
    "h": 283.704,
    "s": 34.177,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52622,
    "c": 0.137,
    "h": 316.2
  },
  "luminance": 0.1327
}

Semantic roles & 50–950 ramp

primary
#894E9F
secondary
#9BBA8F
accent
#CA5E7B
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #894E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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