#893EA7#893EA7

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

Color values

HEX#893EA7
RGBrgb(137, 62, 167)
HSLhsl(283, 46%, 45%)
HSVhsv(283, 63%, 65%)
CMYKcmyk(18%, 62.9%, 0%, 34.5%)
CIE-LABlab(40.50, 48.89, -43.13)
CIE-LCHlch(40.50, 65.19, 318.58°)
OKLaboklab(50.81% 0.121 -0.121)
OKLCHoklch(50.81% 0.171 315)
XYZxyz(19.0131, 11.5543, 37.7804)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893EA7 #5CA73E
analogous
#543EA7 #893EA7 #A73E91
triadic
#893EA7 #A7893E #3EA789
tetradic
#893EA7 #A7543E #5CA73E #3E91A7
square
#893EA7 #A7543E #5CA73E #3E91A7
split-complementary
#893EA7 #91A73E #3EA754
monochromatic
#401D4E #642D7A #893EA7 #A75FC3 #BF8BD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##893EA7#FFFFFF#000000##FFFFFF
##893EA71.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)
#195BAA
Deuteranopia (green-blind)
#3C61A4
Tritanopia (blue-blind)
#87516D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #893ea7;
/* rgb */ color: rgb(137, 62, 167);
/* oklch */ color: oklch(50.8% 0.171 315.0);
Tailwind
colors: {
  custom: {
    50: '#ae78c2',
    500: '#893ea7',
    950: '#000000',
  },
}
SCSS
$custom: #893ea7;
$custom-light: #ae78c2;
$custom-dark: #000000;
JSON
{
  "hex": "#893ea7",
  "rgb": {
    "r": 137,
    "g": 62,
    "b": 167
  },
  "hsl": {
    "h": 282.857,
    "s": 45.852,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5081,
    "c": 0.17111,
    "h": 315
  },
  "luminance": 0.11554
}

Semantic roles & 50–950 ramp

primary
#893EA7
secondary
#93BF82
accent
#D65278
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110912
muted
#807B81

Preview Lab

Preview with #893EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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