#87789E#87789E

#87789E is a mid, muted violet. Relative luminance 0.211; OKLCH L 60.0% C 0.059 H 302.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#87789E
RGBrgb(135, 120, 158)
HSLhsl(264, 16%, 55%)
HSVhsv(264, 24%, 62%)
CMYKcmyk(14.6%, 24.1%, 0%, 38%)
CIE-LABlab(53.01, 13.58, -18.29)
CIE-LCHlch(53.01, 22.78, 306.61°)
OKLaboklab(60.01% 0.032 -0.0499)
OKLCHoklch(60.01% 0.059 302.7)
XYZxyz(22.8785, 21.0525, 35.1994)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87789E #8F9E78
analogous
#787C9E #87789E #9A789E
triadic
#87789E #9E8778 #789E87
tetradic
#87789E #9E787C #8F9E78 #789E9A
square
#87789E #9E787C #8F9E78 #789E9A
split-complementary
#87789E #9E9A78 #7C9E78
monochromatic
#4B415B #695B7E #87789E #A79CB8 #C6BFD1

Accessibility & contrast

On white

4.03
#87789E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#87789E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87789E
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87789E#FFFFFF#000000##000000
##87789E1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#717EA0
Deuteranopia (green-blind)
#737E9D
Tritanopia (blue-blind)
#837D85
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #87789e;
/* rgb */ color: rgb(135, 120, 158);
/* oklch */ color: oklch(60.0% 0.059 302.7);
Tailwind
colors: {
  custom: {
    50: '#aa9fba',
    500: '#87789e',
    950: '#000000',
  },
}
SCSS
$custom: #87789e;
$custom-light: #aa9fba;
$custom-dark: #000000;
JSON
{
  "hex": "#87789e",
  "rgb": {
    "r": 135,
    "g": 120,
    "b": 158
  },
  "hsl": {
    "h": 263.684,
    "s": 16.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60011,
    "c": 0.05928,
    "h": 302.7
  },
  "luminance": 0.21052
}

Semantic roles & 50–950 ramp

primary
#87789E
secondary
#BBC1B1
accent
#B96F9C
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E11
muted
#7F7E80

Preview Lab

Preview with #87789E

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

Preview Lab → · Contrast checker → · Palette generator →

#87789E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva