#893FA9#893FA9

#893FA9 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.1% C 0.172 H 314.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#893FA9
RGBrgb(137, 63, 169)
HSLhsl(282, 46%, 45%)
HSVhsv(282, 63%, 66%)
CMYKcmyk(18.9%, 62.7%, 0%, 33.7%)
CIE-LABlab(40.80, 48.84, -43.84)
CIE-LCHlch(40.80, 65.63, 318.08°)
OKLaboklab(51.07% 0.1198 -0.1231)
OKLCHoklch(51.07% 0.172 314.2)
XYZxyz(19.2543, 11.7385, 38.7799)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893FA9 #5FA93F
analogous
#543FA9 #893FA9 #A93F94
triadic
#893FA9 #A9893F #3FA989
tetradic
#893FA9 #A9543F #5FA93F #3F94A9
square
#893FA9 #A9543F #5FA93F #3F94A9
split-complementary
#893FA9 #94A93F #3FA954
monochromatic
#411E50 #652E7C #893FA9 #A661C4 #BF8ED5

Accessibility & contrast

On white

6.27
#893FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#893FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893FA9
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893FA9#FFFFFF#000000##FFFFFF
##893FA91.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185CAC
Deuteranopia (green-blind)
#3B62A6
Tritanopia (blue-blind)
#86526E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #893fa9;
/* rgb */ color: rgb(137, 63, 169);
/* oklch */ color: oklch(51.1% 0.172 314.2);
Tailwind
colors: {
  custom: {
    50: '#ae79c3',
    500: '#893fa9',
    950: '#000000',
  },
}
SCSS
$custom: #893fa9;
$custom-light: #ae79c3;
$custom-dark: #000000;
JSON
{
  "hex": "#893fa9",
  "rgb": {
    "r": 137,
    "g": 63,
    "b": 169
  },
  "hsl": {
    "h": 281.887,
    "s": 45.69,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51065,
    "c": 0.17172,
    "h": 314.2
  },
  "luminance": 0.11738
}

Semantic roles & 50–950 ramp

primary
#893FA9
secondary
#96C084
accent
#D5527A
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110912
muted
#807B81

Preview Lab

Preview with #893FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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