#893EA8#893EA8

#893EA8 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 50.9% C 0.172 H 314.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#893EA8
RGBrgb(137, 62, 168)
HSLhsl(282, 46%, 45%)
HSVhsv(282, 63%, 66%)
CMYKcmyk(18.5%, 63.1%, 0%, 34.1%)
CIE-LABlab(40.56, 49.11, -43.63)
CIE-LCHlch(40.56, 65.69, 318.38°)
OKLaboklab(50.87% 0.121 -0.1224)
OKLCHoklch(50.87% 0.172 314.7)
XYZxyz(19.1059, 11.5914, 38.2691)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893EA8 #5DA83E
analogous
#543EA8 #893EA8 #A83E92
triadic
#893EA8 #A8893E #3EA889
tetradic
#893EA8 #A8543E #5DA83E #3E92A8
square
#893EA8 #A8543E #5DA83E #3E92A8
split-complementary
#893EA8 #92A83E #3EA854
monochromatic
#401D4F #652E7B #893EA8 #A75FC4 #BF8CD5

Accessibility & contrast

On white

6.33
#893EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#893EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893EA8
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893EA8#FFFFFF#000000##FFFFFF
##893EA81.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175BAB
Deuteranopia (green-blind)
#3B62A5
Tritanopia (blue-blind)
#87516D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #893ea8;
/* rgb */ color: rgb(137, 62, 168);
/* oklch */ color: oklch(50.9% 0.172 314.7);
Tailwind
colors: {
  custom: {
    50: '#ae78c2',
    500: '#893ea8',
    950: '#000000',
  },
}
SCSS
$custom: #893ea8;
$custom-light: #ae78c2;
$custom-dark: #000000;
JSON
{
  "hex": "#893ea8",
  "rgb": {
    "r": 137,
    "g": 62,
    "b": 168
  },
  "hsl": {
    "h": 282.453,
    "s": 46.087,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50873,
    "c": 0.17214,
    "h": 314.7
  },
  "luminance": 0.11591
}

Semantic roles & 50–950 ramp

primary
#893EA8
secondary
#94BF83
accent
#D65279
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110912
muted
#807B81

Preview Lab

Preview with #893EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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