#893E9D#893E9D

#893E9D is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.2% C 0.161 H 318.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#893E9D
RGBrgb(137, 62, 157)
HSLhsl(287, 43%, 43%)
HSVhsv(287, 61%, 62%)
CMYKcmyk(12.7%, 60.5%, 0%, 38.4%)
CIE-LABlab(39.91, 46.79, -38.07)
CIE-LCHlch(39.91, 60.32, 320.86°)
OKLaboklab(50.2% 0.1209 -0.1062)
OKLCHoklch(50.2% 0.161 318.7)
XYZxyz(18.1241, 11.1987, 33.0986)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893E9D #529D3E
analogous
#593E9D #893E9D #9D3E82
triadic
#893E9D #9D893E #3E9D89
tetradic
#893E9D #9D593E #529D3E #3E829D
square
#893E9D #9D593E #529D3E #3E829D
split-complementary
#893E9D #829D3E #3E9D59
monochromatic
#3C1B45 #632D71 #893E9D #A95ABE #C086CF

Accessibility & contrast

On white

6.48
#893E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#893E9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893E9D
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893E9D#FFFFFF#000000##FFFFFF
##893E9D1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2659A0
Deuteranopia (green-blind)
#43619B
Tritanopia (blue-blind)
#894D67
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #893e9d;
/* rgb */ color: rgb(137, 62, 157);
/* oklch */ color: oklch(50.2% 0.161 318.7);
Tailwind
colors: {
  custom: {
    50: '#ae78ba',
    500: '#893e9d',
    950: '#000000',
  },
}
SCSS
$custom: #893e9d;
$custom-light: #ae78ba;
$custom-dark: #000000;
JSON
{
  "hex": "#893e9d",
  "rgb": {
    "r": 137,
    "g": 62,
    "b": 157
  },
  "hsl": {
    "h": 287.368,
    "s": 43.379,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50196,
    "c": 0.1609,
    "h": 318.7
  },
  "luminance": 0.11198
}

Semantic roles & 50–950 ramp

primary
#893E9D
secondary
#8ABA7D
accent
#D3556F
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #893E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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