#893A9D#893A9D

#893A9D is a mid, vivid purple. Relative luminance 0.108; OKLCH L 49.7% C 0.167 H 319.0°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#893A9D
RGBrgb(137, 58, 157)
HSLhsl(288, 46%, 42%)
HSVhsv(288, 63%, 62%)
CMYKcmyk(12.7%, 63.1%, 0%, 38.4%)
CIE-LABlab(39.21, 48.72, -39.20)
CIE-LCHlch(39.21, 62.53, 321.18°)
OKLaboklab(49.68% 0.126 -0.1095)
OKLCHoklch(49.68% 0.167 319)
XYZxyz(17.9146, 10.7796, 33.0288)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893A9D #4E9D3A
analogous
#583A9D #893A9D #9D3A80
triadic
#893A9D #9D893A #3A9D89
tetradic
#893A9D #9D583A #4E9D3A #3A809D
square
#893A9D #9D583A #4E9D3A #3A809D
split-complementary
#893A9D #809D3A #3A9D58
monochromatic
#3B1944 #622970 #893A9D #AA54C0 #C081D0

Accessibility & contrast

On white

6.65
#893A9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#893A9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893A9D
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893A9D#FFFFFF#000000##FFFFFF
##893A9D1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F57A0
Deuteranopia (green-blind)
#405F9B
Tritanopia (blue-blind)
#894B66
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #893a9d;
/* rgb */ color: rgb(137, 58, 157);
/* oklch */ color: oklch(49.7% 0.167 319.0);
Tailwind
colors: {
  custom: {
    50: '#ae75ba',
    500: '#893a9d',
    950: '#000000',
  },
}
SCSS
$custom: #893a9d;
$custom-light: #ae75ba;
$custom-dark: #000000;
JSON
{
  "hex": "#893a9d",
  "rgb": {
    "r": 137,
    "g": 58,
    "b": 157
  },
  "hsl": {
    "h": 287.879,
    "s": 46.047,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49682,
    "c": 0.16689,
    "h": 319
  },
  "luminance": 0.10779
}

Semantic roles & 50–950 ramp

primary
#893A9D
secondary
#86BA79
accent
#D6526D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #893A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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