#875F8A#875F8A

#875F8A is a mid, moderate purple. Relative luminance 0.152; OKLCH L 54.3% C 0.081 H 324.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#875F8A
RGBrgb(135, 95, 138)
HSLhsl(296, 18%, 46%)
HSVhsv(296, 31%, 54%)
CMYKcmyk(2.2%, 31.2%, 0%, 45.9%)
CIE-LABlab(45.87, 23.99, -17.39)
CIE-LCHlch(45.87, 29.62, 324.06°)
OKLaboklab(54.28% 0.0655 -0.0472)
OKLCHoklch(54.28% 0.081 324.2)
XYZxyz(18.6708, 15.1709, 25.9846)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875F8A #628A5F
analogous
#715F8A #875F8A #8A5F77
triadic
#875F8A #8A875F #5F8A87
tetradic
#875F8A #8A715F #628A5F #5F778A
square
#875F8A #8A715F #628A5F #5F778A
split-complementary
#875F8A #778A5F #5F8A71
monochromatic
#402D42 #644666 #875F8A #A47FA7 #BEA3C0

Accessibility & contrast

On white

5.21
#875F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#875F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875F8A
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875F8A#FFFFFF#000000##FFFFFF
##875F8A1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6A8C
Deuteranopia (green-blind)
#656E89
Tritanopia (blue-blind)
#89636F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #875f8a;
/* rgb */ color: rgb(135, 95, 138);
/* oklch */ color: oklch(54.3% 0.081 324.2);
Tailwind
colors: {
  custom: {
    50: '#aa8dac',
    500: '#875f8a',
    950: '#000000',
  },
}
SCSS
$custom: #875f8a;
$custom-light: #aa8dac;
$custom-dark: #000000;
JSON
{
  "hex": "#875f8a",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 138
  },
  "hsl": {
    "h": 295.814,
    "s": 18.455,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54284,
    "c": 0.08074,
    "h": 324.2
  },
  "luminance": 0.1517
}

Semantic roles & 50–950 ramp

primary
#875F8A
secondary
#98AE96
accent
#BB6D72
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#100C10
muted
#7F7D7F

Preview Lab

Preview with #875F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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