#875997#875997

#875997 is a mid, moderate purple. Relative luminance 0.145; OKLCH L 53.8% C 0.107 H 317.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#875997
RGBrgb(135, 89, 151)
HSLhsl(285, 26%, 47%)
HSVhsv(285, 41%, 59%)
CMYKcmyk(10.6%, 41.1%, 0%, 40.8%)
CIE-LABlab(44.98, 30.25, -26.52)
CIE-LCHlch(44.98, 40.23, 318.76°)
OKLaboklab(53.8% 0.0784 -0.0731)
OKLCHoklch(53.8% 0.107 317)
XYZxyz(19.1492, 14.5305, 31.0681)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875997 #699759
analogous
#685997 #875997 #975988
triadic
#875997 #978759 #599787
tetradic
#875997 #976859 #699759 #598897
square
#875997 #976859 #699759 #598897
split-complementary
#875997 #889759 #599768
monochromatic
#422C4A #654270 #875997 #A47CB2 #BEA2C8

Accessibility & contrast

On white

5.38
#875997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#875997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875997
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875997#FFFFFF#000000##FFFFFF
##8759971.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6799
Deuteranopia (green-blind)
#5B6C95
Tritanopia (blue-blind)
#876171
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #875997;
/* rgb */ color: rgb(135, 89, 151);
/* oklch */ color: oklch(53.8% 0.107 317.0);
Tailwind
colors: {
  custom: {
    50: '#ab89b6',
    500: '#875997',
    950: '#000000',
  },
}
SCSS
$custom: #875997;
$custom-light: #ab89b6;
$custom-dark: #000000;
JSON
{
  "hex": "#875997",
  "rgb": {
    "r": 135,
    "g": 89,
    "b": 151
  },
  "hsl": {
    "h": 284.516,
    "s": 25.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53797,
    "c": 0.10718,
    "h": 317
  },
  "luminance": 0.1453
}

Semantic roles & 50–950 ramp

primary
#875997
secondary
#9EB696
accent
#C2667D
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #875997

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

Preview Lab → · Contrast checker → · Palette generator →

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