#875F97#875F97

#875F97 is a mid, moderate purple. Relative luminance 0.156; OKLCH L 54.9% C 0.096 H 316.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#875F97
RGBrgb(135, 95, 151)
HSLhsl(283, 23%, 48%)
HSVhsv(283, 37%, 59%)
CMYKcmyk(10.6%, 37.1%, 0%, 40.8%)
CIE-LABlab(46.41, 26.76, -24.32)
CIE-LCHlch(46.41, 36.16, 317.73°)
OKLaboklab(54.87% 0.0691 -0.0668)
OKLCHoklch(54.87% 0.096 316)
XYZxyz(19.6690, 15.5701, 31.2414)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875F97 #6F975F
analogous
#6B5F97 #875F97 #975F8B
triadic
#875F97 #97875F #5F9787
tetradic
#875F97 #976B5F #6F975F #5F8B97
square
#875F97 #976B5F #6F975F #5F8B97
split-complementary
#875F97 #8B975F #5F976B
monochromatic
#44304C #654771 #875F97 #A383B1 #BFA8C8

Accessibility & contrast

On white

5.10
#875F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#875F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875F97
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875F97#FFFFFF#000000##FFFFFF
##875F971.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566B99
Deuteranopia (green-blind)
#606F95
Tritanopia (blue-blind)
#866674
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #875f97;
/* rgb */ color: rgb(135, 95, 151);
/* oklch */ color: oklch(54.9% 0.096 316.0);
Tailwind
colors: {
  custom: {
    50: '#ab8db5',
    500: '#875f97',
    950: '#000000',
  },
}
SCSS
$custom: #875f97;
$custom-light: #ab8db5;
$custom-dark: #000000;
JSON
{
  "hex": "#875f97",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 151
  },
  "hsl": {
    "h": 282.857,
    "s": 22.764,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54869,
    "c": 0.09607,
    "h": 316
  },
  "luminance": 0.1557
}

Semantic roles & 50–950 ramp

primary
#875F97
secondary
#A3B79B
accent
#BF6981
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100C11
muted
#7F7D80

Preview Lab

Preview with #875F97

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

Preview Lab → · Contrast checker → · Palette generator →

#875F97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva