#893E9F#893E9F

#893E9F is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.3% C 0.163 H 317.9°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#893E9F
RGBrgb(137, 62, 159)
HSLhsl(286, 44%, 43%)
HSVhsv(286, 61%, 62%)
CMYKcmyk(13.8%, 61%, 0%, 37.6%)
CIE-LABlab(40.03, 47.20, -39.09)
CIE-LCHlch(40.03, 61.29, 320.37°)
OKLaboklab(50.32% 0.1209 -0.1092)
OKLCHoklch(50.32% 0.163 317.9)
XYZxyz(18.2963, 11.2675, 34.0053)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893E9F #549F3E
analogous
#583E9F #893E9F #9F3E84
triadic
#893E9F #9F893E #3E9F89
tetradic
#893E9F #9F583E #549F3E #3E849F
square
#893E9F #9F583E #549F3E #3E849F
split-complementary
#893E9F #849F3E #3E9F58
monochromatic
#3D1C47 #632D73 #893E9F #A85BBF #C087D0

Accessibility & contrast

On white

6.45
#893E9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#893E9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893E9F
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893E9F#FFFFFF#000000##FFFFFF
##893E9F1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2459A2
Deuteranopia (green-blind)
#42619D
Tritanopia (blue-blind)
#894E69
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #893e9f;
/* rgb */ color: rgb(137, 62, 159);
/* oklch */ color: oklch(50.3% 0.163 317.9);
Tailwind
colors: {
  custom: {
    50: '#ae78bc',
    500: '#893e9f',
    950: '#000000',
  },
}
SCSS
$custom: #893e9f;
$custom-light: #ae78bc;
$custom-dark: #000000;
JSON
{
  "hex": "#893e9f",
  "rgb": {
    "r": 137,
    "g": 62,
    "b": 159
  },
  "hsl": {
    "h": 286.392,
    "s": 43.891,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50316,
    "c": 0.16293,
    "h": 317.9
  },
  "luminance": 0.11267
}

Semantic roles & 50–950 ramp

primary
#893E9F
secondary
#8CBB7E
accent
#D45471
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #893E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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