#81587F#81587F

#81587F is a mid, moderate purple. Relative luminance 0.132; OKLCH L 51.8% C 0.078 H 328.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#81587F
RGBrgb(129, 88, 127)
HSLhsl(303, 19%, 43%)
HSVhsv(303, 32%, 51%)
CMYKcmyk(0%, 31.8%, 1.6%, 49.4%)
CIE-LABlab(43.03, 23.76, -15.14)
CIE-LCHlch(43.03, 28.17, 327.49°)
OKLaboklab(51.83% 0.0662 -0.0409)
OKLCHoklch(51.83% 0.078 328.3)
XYZxyz(16.3734, 13.1795, 21.7560)
Luminance0.1318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81587F #58815A
analogous
#6F5881 #81587F #81586A
triadic
#81587F #7F8158 #587F81
tetradic
#81587F #816F58 #58815A #586A81
square
#81587F #816F58 #58815A #586A81
split-complementary
#81587F #6A8158 #58816F
monochromatic
#382637 #5D3F5B #81587F #A1759F #BA9AB8

Accessibility & contrast

On white

5.78
#81587F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#81587F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #81587F
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81587F#FFFFFF#000000##FFFFFF
##81587F1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566281
Deuteranopia (green-blind)
#60687E
Tritanopia (blue-blind)
#845B66
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #81587f;
/* rgb */ color: rgb(129, 88, 127);
/* oklch */ color: oklch(51.8% 0.078 328.3);
Tailwind
colors: {
  custom: {
    50: '#a688a4',
    500: '#81587f',
    950: '#000000',
  },
}
SCSS
$custom: #81587f;
$custom-light: #a688a4;
$custom-dark: #000000;
JSON
{
  "hex": "#81587f",
  "rgb": {
    "r": 129,
    "g": 88,
    "b": 127
  },
  "hsl": {
    "h": 302.927,
    "s": 18.894,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51831,
    "c": 0.07784,
    "h": 328.3
  },
  "luminance": 0.13179
}

Semantic roles & 50–950 ramp

primary
#81587F
secondary
#8DA88E
accent
#BC706C
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#0F0B0F
muted
#7F7C7F

Preview Lab

Preview with #81587F

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

Preview Lab → · Contrast checker → · Palette generator →

#81587F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva