#875F9B#875F9B

#875F9B is a mid, moderate purple. Relative luminance 0.157; OKLCH L 55.1% C 0.101 H 313.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#875F9B
RGBrgb(135, 95, 155)
HSLhsl(280, 24%, 49%)
HSVhsv(280, 39%, 61%)
CMYKcmyk(12.9%, 38.7%, 0%, 39.2%)
CIE-LABlab(46.58, 27.64, -26.42)
CIE-LCHlch(46.58, 38.24, 316.30°)
OKLaboklab(55.06% 0.07 -0.0728)
OKLCHoklch(55.06% 0.101 313.9)
XYZxyz(19.9993, 15.7023, 32.9813)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875F9B #739B5F
analogous
#695F9B #875F9B #9B5F91
triadic
#875F9B #9B875F #5F9B87
tetradic
#875F9B #9B695F #739B5F #5F919B
square
#875F9B #9B695F #739B5F #5F919B
split-complementary
#875F9B #919B5F #5F9B69
monochromatic
#45304F #664875 #875F9B #A484B3 #C0AACB

Accessibility & contrast

On white

5.07
#875F9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#875F9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875F9B
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875F9B#FFFFFF#000000##FFFFFF
##875F9B1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556C9D
Deuteranopia (green-blind)
#5E6F99
Tritanopia (blue-blind)
#866776
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #875f9b;
/* rgb */ color: rgb(135, 95, 155);
/* oklch */ color: oklch(55.1% 0.101 313.9);
Tailwind
colors: {
  custom: {
    50: '#ab8db8',
    500: '#875f9b',
    950: '#000000',
  },
}
SCSS
$custom: #875f9b;
$custom-light: #ab8db8;
$custom-dark: #000000;
JSON
{
  "hex": "#875f9b",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 155
  },
  "hsl": {
    "h": 280,
    "s": 24,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5506,
    "c": 0.10101,
    "h": 313.9
  },
  "luminance": 0.15702
}

Semantic roles & 50–950 ramp

primary
#875F9B
secondary
#A6B99D
accent
#C06785
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100C11
muted
#7F7D80

Preview Lab

Preview with #875F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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