#893EA4#893EA4

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

Color values

HEX#893EA4
RGBrgb(137, 62, 164)
HSLhsl(284, 45%, 44%)
HSVhsv(284, 62%, 64%)
CMYKcmyk(16.5%, 62.2%, 0%, 35.7%)
CIE-LABlab(40.32, 48.25, -41.62)
CIE-LCHlch(40.32, 63.72, 319.22°)
OKLaboklab(50.62% 0.121 -0.1166)
OKLCHoklch(50.62% 0.168 316.1)
XYZxyz(18.7390, 11.4446, 36.3367)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893EA4 #59A43E
analogous
#563EA4 #893EA4 #A43E8C
triadic
#893EA4 #A4893E #3EA489
tetradic
#893EA4 #A4563E #59A43E #3E8CA4
square
#893EA4 #A4563E #59A43E #3E8CA4
split-complementary
#893EA4 #8CA43E #3EA456
monochromatic
#3F1C4B #642D78 #893EA4 #A75DC2 #BF8AD3

Accessibility & contrast

On white

6.39
#893EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #893EA4
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893EA4#FFFFFF#000000##FFFFFF
##893EA41.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5AA7
Deuteranopia (green-blind)
#3E61A1
Tritanopia (blue-blind)
#87506B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #893ea4;
/* rgb */ color: rgb(137, 62, 164);
/* oklch */ color: oklch(50.6% 0.168 316.1);
Tailwind
colors: {
  custom: {
    50: '#ae78bf',
    500: '#893ea4',
    950: '#000000',
  },
}
SCSS
$custom: #893ea4;
$custom-light: #ae78bf;
$custom-dark: #000000;
JSON
{
  "hex": "#893ea4",
  "rgb": {
    "r": 137,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 284.118,
    "s": 45.133,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50622,
    "c": 0.16803,
    "h": 316.1
  },
  "luminance": 0.11444
}

Semantic roles & 50–950 ramp

primary
#893EA4
secondary
#91BD81
accent
#D55375
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #893EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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