#893FA1#893FA1

#893FA1 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.6% C 0.163 H 317.1°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#893FA1
RGBrgb(137, 63, 161)
HSLhsl(285, 44%, 44%)
HSVhsv(285, 61%, 63%)
CMYKcmyk(14.9%, 60.9%, 0%, 36.9%)
CIE-LABlab(40.32, 47.13, -39.82)
CIE-LCHlch(40.32, 61.70, 319.80°)
OKLaboklab(50.57% 0.1197 -0.1113)
OKLCHoklch(50.57% 0.163 317.1)
XYZxyz(18.5261, 11.4473, 34.9450)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893FA1 #57A13F
analogous
#583FA1 #893FA1 #A13F88
triadic
#893FA1 #A1893F #3FA189
tetradic
#893FA1 #A1583F #57A13F #3F88A1
square
#893FA1 #A1583F #57A13F #3F88A1
split-complementary
#893FA1 #88A13F #3FA158
monochromatic
#3E1D49 #642E75 #893FA1 #A85DC0 #BF89D1

Accessibility & contrast

On white

6.38
#893FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#893FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893FA1
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893FA1#FFFFFF#000000##FFFFFF
##893FA11.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245AA4
Deuteranopia (green-blind)
#41619F
Tritanopia (blue-blind)
#88506A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #893fa1;
/* rgb */ color: rgb(137, 63, 161);
/* oklch */ color: oklch(50.6% 0.163 317.1);
Tailwind
colors: {
  custom: {
    50: '#ae78bd',
    500: '#893fa1',
    950: '#000000',
  },
}
SCSS
$custom: #893fa1;
$custom-light: #ae78bd;
$custom-dark: #000000;
JSON
{
  "hex": "#893fa1",
  "rgb": {
    "r": 137,
    "g": 63,
    "b": 161
  },
  "hsl": {
    "h": 285.306,
    "s": 43.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50569,
    "c": 0.16346,
    "h": 317.1
  },
  "luminance": 0.11447
}

Semantic roles & 50–950 ramp

primary
#893FA1
secondary
#8FBC80
accent
#D35473
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #893FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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