#87789F#87789F

#87789F is a mid, moderate violet. Relative luminance 0.211; OKLCH L 60.1% C 0.061 H 302.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#87789F
RGBrgb(135, 120, 159)
HSLhsl(263, 17%, 55%)
HSVhsv(263, 25%, 62%)
CMYKcmyk(15.1%, 24.5%, 0%, 37.6%)
CIE-LABlab(53.04, 13.81, -18.81)
CIE-LCHlch(53.04, 23.34, 306.29°)
OKLaboklab(60.05% 0.0323 -0.0514)
OKLCHoklch(60.05% 0.061 302.2)
XYZxyz(22.9649, 21.0870, 35.6545)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87789F #909F78
analogous
#787D9F #87789F #9B789F
triadic
#87789F #9F8778 #789F87
tetradic
#87789F #9F787D #909F78 #789F9B
square
#87789F #9F787D #909F78 #789F9B
split-complementary
#87789F #9F9B78 #7D9F78
monochromatic
#4B415C #695B7F #87789F #A79CB8 #C7C0D2

Accessibility & contrast

On white

4.02
#87789F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#87789F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87789F
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87789F#FFFFFF#000000##000000
##87789F1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#707EA1
Deuteranopia (green-blind)
#737F9E
Tritanopia (blue-blind)
#837E85
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #87789f;
/* rgb */ color: rgb(135, 120, 159);
/* oklch */ color: oklch(60.1% 0.061 302.2);
Tailwind
colors: {
  custom: {
    50: '#aa9fbb',
    500: '#87789f',
    950: '#000000',
  },
}
SCSS
$custom: #87789f;
$custom-light: #aa9fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#87789f",
  "rgb": {
    "r": 135,
    "g": 120,
    "b": 159
  },
  "hsl": {
    "h": 263.077,
    "s": 16.883,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60053,
    "c": 0.0607,
    "h": 302.2
  },
  "luminance": 0.21087
}

Semantic roles & 50–950 ramp

primary
#87789F
secondary
#BBC2B1
accent
#BA6E9D
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #87789F

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

Preview Lab → · Contrast checker → · Palette generator →

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