#893EA1#893EA1

#893EA1 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.4% C 0.165 H 317.2°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#893EA1
RGBrgb(137, 62, 161)
HSLhsl(285, 44%, 44%)
HSVhsv(285, 61%, 63%)
CMYKcmyk(14.9%, 61.5%, 0%, 36.9%)
CIE-LABlab(40.14, 47.62, -40.11)
CIE-LCHlch(40.14, 62.26, 319.89°)
OKLaboklab(50.44% 0.121 -0.1122)
OKLCHoklch(50.44% 0.165 317.2)
XYZxyz(18.4712, 11.3375, 34.9267)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893EA1 #56A13E
analogous
#573EA1 #893EA1 #A13E87
triadic
#893EA1 #A1893E #3EA189
tetradic
#893EA1 #A1573E #56A13E #3E87A1
square
#893EA1 #A1573E #56A13E #3E87A1
split-complementary
#893EA1 #87A13E #3EA157
monochromatic
#3E1C49 #632D75 #893EA1 #A85CC0 #C088D1

Accessibility & contrast

On white

6.43
#893EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#893EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893EA1
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893EA1#FFFFFF#000000##FFFFFF
##893EA11.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225AA4
Deuteranopia (green-blind)
#41619F
Tritanopia (blue-blind)
#884F6A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #893ea1;
/* rgb */ color: rgb(137, 62, 161);
/* oklch */ color: oklch(50.4% 0.165 317.2);
Tailwind
colors: {
  custom: {
    50: '#ae78bd',
    500: '#893ea1',
    950: '#000000',
  },
}
SCSS
$custom: #893ea1;
$custom-light: #ae78bd;
$custom-dark: #000000;
JSON
{
  "hex": "#893ea1",
  "rgb": {
    "r": 137,
    "g": 62,
    "b": 161
  },
  "hsl": {
    "h": 285.455,
    "s": 44.395,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50437,
    "c": 0.16497,
    "h": 317.2
  },
  "luminance": 0.11337
}

Semantic roles & 50–950 ramp

primary
#893EA1
secondary
#8EBC7F
accent
#D45473
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #893EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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