#875281#875281

#875281 is a mid, moderate purple. Relative luminance 0.128; OKLCH L 51.6% C 0.096 H 331.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#875281
RGBrgb(135, 82, 129)
HSLhsl(307, 24%, 43%)
HSVhsv(307, 39%, 53%)
CMYKcmyk(0%, 39.3%, 4.4%, 47.1%)
CIE-LABlab(42.42, 29.76, -17.24)
CIE-LCHlch(42.42, 34.39, 329.92°)
OKLaboklab(51.55% 0.0841 -0.0466)
OKLCHoklch(51.55% 0.096 331)
XYZxyz(16.9712, 12.7713, 22.3358)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875281 #528758
analogous
#725287 #875281 #875267
triadic
#875281 #818752 #528187
tetradic
#875281 #877252 #528758 #526787
square
#875281 #877252 #528758 #526787
split-complementary
#875281 #678752 #528772
monochromatic
#3B2438 #613B5D #875281 #A76FA1 #BF95BA

Accessibility & contrast

On white

5.91
#875281 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#875281 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875281
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875281#FFFFFF#000000##FFFFFF
##8752811.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506083
Deuteranopia (green-blind)
#5E677F
Tritanopia (blue-blind)
#8B5564
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #875281;
/* rgb */ color: rgb(135, 82, 129);
/* oklch */ color: oklch(51.6% 0.096 331.0);
Tailwind
colors: {
  custom: {
    50: '#ab84a5',
    500: '#875281',
    950: '#000000',
  },
}
SCSS
$custom: #875281;
$custom-light: #ab84a5;
$custom-dark: #000000;
JSON
{
  "hex": "#875281",
  "rgb": {
    "r": 135,
    "g": 82,
    "b": 129
  },
  "hsl": {
    "h": 306.792,
    "s": 24.424,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51552,
    "c": 0.0962,
    "h": 331
  },
  "luminance": 0.1277
}

Semantic roles & 50–950 ramp

primary
#875281
secondary
#89AC8D
accent
#C17167
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100B0F
muted
#7F7C7F

Preview Lab

Preview with #875281

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

Preview Lab → · Contrast checker → · Palette generator →

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