#896797#896797

#896797 is a mid, moderate purple. Relative luminance 0.173; OKLCH L 56.6% C 0.082 H 315.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#896797
RGBrgb(137, 103, 151)
HSLhsl(283, 19%, 50%)
HSVhsv(283, 32%, 59%)
CMYKcmyk(9.3%, 31.8%, 0%, 40.8%)
CIE-LABlab(48.58, 22.72, -20.95)
CIE-LCHlch(48.58, 30.90, 317.33°)
OKLaboklab(56.57% 0.0589 -0.0572)
OKLCHoklch(56.57% 0.082 315.8)
XYZxyz(20.7518, 17.2536, 31.5093)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#896797 #759767
analogous
#716797 #896797 #97678D
triadic
#896797 #978967 #679789
tetradic
#896797 #977167 #759767 #678D97
square
#896797 #977167 #759767 #678D97
split-complementary
#896797 #8D9767 #679771
monochromatic
#47354E #684E73 #896797 #A58BB0 #C1B0C9

Accessibility & contrast

On white

4.72
#896797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#896797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #896797
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##896797#FFFFFF#000000##FFFFFF
##8967971.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#607199
Deuteranopia (green-blind)
#687495
Tritanopia (blue-blind)
#896D78
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #896797;
/* rgb */ color: rgb(137, 103, 151);
/* oklch */ color: oklch(56.6% 0.082 315.8);
Tailwind
colors: {
  custom: {
    50: '#ac92b5',
    500: '#896797',
    950: '#000000',
  },
}
SCSS
$custom: #896797;
$custom-light: #ac92b5;
$custom-dark: #000000;
JSON
{
  "hex": "#896797",
  "rgb": {
    "r": 137,
    "g": 103,
    "b": 151
  },
  "hsl": {
    "h": 282.5,
    "s": 18.898,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56569,
    "c": 0.08215,
    "h": 315.8
  },
  "luminance": 0.17253
}

Semantic roles & 50–950 ramp

primary
#896797
secondary
#A8B8A2
accent
#BC6C83
background
#FAF9FB
surface
#F4F1F6
border
#CECBD0
text
#100D11
muted
#7F7E80

Preview Lab

Preview with #896797

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

Preview Lab → · Contrast checker → · Palette generator →

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