#875797#875797

#875797 is a mid, moderate purple. Relative luminance 0.142; OKLCH L 53.4% C 0.111 H 317.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#875797
RGBrgb(135, 87, 151)
HSLhsl(285, 27%, 47%)
HSVhsv(285, 42%, 59%)
CMYKcmyk(10.6%, 42.4%, 0%, 40.8%)
CIE-LABlab(44.52, 31.41, -27.24)
CIE-LCHlch(44.52, 41.58, 319.06°)
OKLaboklab(53.45% 0.0815 -0.0751)
OKLCHoklch(53.45% 0.111 317.3)
XYZxyz(18.9850, 14.2022, 31.0134)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875797 #679757
analogous
#675797 #875797 #975787
triadic
#875797 #978757 #579787
tetradic
#875797 #976757 #679757 #578797
square
#875797 #976757 #679757 #578797
split-complementary
#875797 #879757 #579767
monochromatic
#422A49 #644170 #875797 #A479B2 #BEA0C8

Accessibility & contrast

On white

5.47
#875797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#875797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875797
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875797#FFFFFF#000000##FFFFFF
##8757971.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6699
Deuteranopia (green-blind)
#596B95
Tritanopia (blue-blind)
#875F70
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #875797;
/* rgb */ color: rgb(135, 87, 151);
/* oklch */ color: oklch(53.4% 0.111 317.3);
Tailwind
colors: {
  custom: {
    50: '#ab87b6',
    500: '#875797',
    950: '#000000',
  },
}
SCSS
$custom: #875797;
$custom-light: #ab87b6;
$custom-dark: #000000;
JSON
{
  "hex": "#875797",
  "rgb": {
    "r": 135,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 285,
    "s": 26.891,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53449,
    "c": 0.11085,
    "h": 317.3
  },
  "luminance": 0.14202
}

Semantic roles & 50–950 ramp

primary
#875797
secondary
#9CB694
accent
#C3657C
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #875797

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

Preview Lab → · Contrast checker → · Palette generator →

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