#893796#893796

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

Color values

HEX#893796
RGBrgb(137, 55, 150)
HSLhsl(292, 46%, 40%)
HSVhsv(292, 63%, 59%)
CMYKcmyk(8.7%, 63.3%, 0%, 41.2%)
CIE-LABlab(38.29, 48.72, -36.42)
CIE-LCHlch(38.29, 60.83, 323.22°)
OKLaboklab(48.89% 0.1296 -0.1014)
OKLCHoklch(48.89% 0.165 322)
XYZxyz(17.1872, 10.2536, 29.9221)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893796 #449637
analogous
#593796 #893796 #963774
triadic
#893796 #968937 #379689
tetradic
#893796 #965937 #449637 #377496
square
#893796 #965937 #449637 #377496
split-complementary
#893796 #749637 #379659
monochromatic
#37163C #602769 #893796 #AE4DBE #C279CE

Accessibility & contrast

On white

6.88
#893796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#893796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893796
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893796#FFFFFF#000000##FFFFFF
##8937961.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225499
Deuteranopia (green-blind)
#425D94
Tritanopia (blue-blind)
#8B4661
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #893796;
/* rgb */ color: rgb(137, 55, 150);
/* oklch */ color: oklch(48.9% 0.165 322.0);
Tailwind
colors: {
  custom: {
    50: '#ae73b5',
    500: '#893796',
    950: '#000000',
  },
}
SCSS
$custom: #893796;
$custom-light: #ae73b5;
$custom-dark: #000000;
JSON
{
  "hex": "#893796",
  "rgb": {
    "r": 137,
    "g": 55,
    "b": 150
  },
  "hsl": {
    "h": 291.789,
    "s": 46.341,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4889,
    "c": 0.16451,
    "h": 322
  },
  "luminance": 0.10253
}

Semantic roles & 50–950 ramp

primary
#893796
secondary
#7BB772
accent
#D65264
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #893796

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

Preview Lab → · Contrast checker → · Palette generator →

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