#893797#893797

#893797 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 48.9% C 0.165 H 321.6°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#893797
RGBrgb(137, 55, 151)
HSLhsl(291, 47%, 40%)
HSVhsv(291, 64%, 59%)
CMYKcmyk(9.3%, 63.6%, 0%, 40.8%)
CIE-LABlab(38.35, 48.91, -36.93)
CIE-LCHlch(38.35, 61.29, 322.94°)
OKLaboklab(48.95% 0.1296 -0.1029)
OKLCHoklch(48.95% 0.165 321.6)
XYZxyz(17.2680, 10.2860, 30.3480)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893797 #459737
analogous
#593797 #893797 #973775
triadic
#893797 #978937 #379789
tetradic
#893797 #975937 #459737 #377597
square
#893797 #975937 #459737 #377597
split-complementary
#893797 #759737 #379759
monochromatic
#38163D #60276A #893797 #AE4DBE #C27ACF

Accessibility & contrast

On white

6.87
#893797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#893797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893797
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893797#FFFFFF#000000##FFFFFF
##8937971.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21549A
Deuteranopia (green-blind)
#425D95
Tritanopia (blue-blind)
#8A4662
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #893797;
/* rgb */ color: rgb(137, 55, 151);
/* oklch */ color: oklch(48.9% 0.165 321.6);
Tailwind
colors: {
  custom: {
    50: '#ae73b6',
    500: '#893797',
    950: '#000000',
  },
}
SCSS
$custom: #893797;
$custom-light: #ae73b6;
$custom-dark: #000000;
JSON
{
  "hex": "#893797",
  "rgb": {
    "r": 137,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 291.25,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4895,
    "c": 0.16546,
    "h": 321.6
  },
  "luminance": 0.10285
}

Semantic roles & 50–950 ramp

primary
#893797
secondary
#7CB872
accent
#D65265
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #893797

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

Preview Lab → · Contrast checker → · Palette generator →

#893797 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva