#893799#893799

#893799 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.1% C 0.167 H 320.8°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#893799
RGBrgb(137, 55, 153)
HSLhsl(290, 47%, 41%)
HSVhsv(290, 64%, 60%)
CMYKcmyk(10.5%, 64.1%, 0%, 40%)
CIE-LABlab(38.47, 49.31, -37.96)
CIE-LCHlch(38.47, 62.23, 322.41°)
OKLaboklab(49.07% 0.1296 -0.1058)
OKLCHoklch(49.07% 0.167 320.8)
XYZxyz(17.4318, 10.3515, 31.2107)
Luminance0.1035 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893799 #479937
analogous
#583799 #893799 #993778
triadic
#893799 #998937 #379989
tetradic
#893799 #995837 #479937 #377899
square
#893799 #995837 #479937 #377899
split-complementary
#893799 #789937 #379958
monochromatic
#38173F #61276C #893799 #AD4EBF #C27BD0

Accessibility & contrast

On white

6.84
#893799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#893799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893799
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893799#FFFFFF#000000##FFFFFF
##8937991.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E559C
Deuteranopia (green-blind)
#415E97
Tritanopia (blue-blind)
#8A4763
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #893799;
/* rgb */ color: rgb(137, 55, 153);
/* oklch */ color: oklch(49.1% 0.167 320.8);
Tailwind
colors: {
  custom: {
    50: '#ae74b7',
    500: '#893799',
    950: '#000000',
  },
}
SCSS
$custom: #893799;
$custom-light: #ae74b7;
$custom-dark: #000000;
JSON
{
  "hex": "#893799",
  "rgb": {
    "r": 137,
    "g": 55,
    "b": 153
  },
  "hsl": {
    "h": 290.204,
    "s": 47.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49071,
    "c": 0.16737,
    "h": 320.8
  },
  "luminance": 0.10351
}

Semantic roles & 50–950 ramp

primary
#893799
secondary
#7FB973
accent
#D75167
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #893799

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

Preview Lab → · Contrast checker → · Palette generator →

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