#893FA4#893FA4

#893FA4 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 50.8% C 0.167 H 316.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#893FA4
RGBrgb(137, 63, 164)
HSLhsl(284, 44%, 45%)
HSVhsv(284, 62%, 64%)
CMYKcmyk(16.5%, 61.6%, 0%, 35.7%)
CIE-LABlab(40.50, 47.76, -41.34)
CIE-LCHlch(40.50, 63.17, 319.12°)
OKLaboklab(50.75% 0.1197 -0.1157)
OKLCHoklch(50.75% 0.167 316)
XYZxyz(18.7938, 11.5544, 36.3550)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893FA4 #5AA43F
analogous
#563FA4 #893FA4 #A43F8D
triadic
#893FA4 #A4893F #3FA489
tetradic
#893FA4 #A4563F #5AA43F #3F8DA4
square
#893FA4 #A4563F #5AA43F #3F8DA4
split-complementary
#893FA4 #8DA43F #3FA456
monochromatic
#3F1D4C #642E78 #893FA4 #A75FC1 #BF8BD2

Accessibility & contrast

On white

6.34
#893FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#893FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893FA4
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893FA4#FFFFFF#000000##FFFFFF
##893FA41.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205BA7
Deuteranopia (green-blind)
#3F62A2
Tritanopia (blue-blind)
#87516B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #893fa4;
/* rgb */ color: rgb(137, 63, 164);
/* oklch */ color: oklch(50.8% 0.167 316.0);
Tailwind
colors: {
  custom: {
    50: '#ae78bf',
    500: '#893fa4',
    950: '#000000',
  },
}
SCSS
$custom: #893fa4;
$custom-light: #ae78bf;
$custom-dark: #000000;
JSON
{
  "hex": "#893fa4",
  "rgb": {
    "r": 137,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 283.96,
    "s": 44.493,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50752,
    "c": 0.16654,
    "h": 316
  },
  "luminance": 0.11554
}

Semantic roles & 50–950 ramp

primary
#893FA4
secondary
#92BD82
accent
#D45476
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #893FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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