#87799A#87799A

#87799A is a mid, muted violet. Relative luminance 0.212; OKLCH L 60.1% C 0.052 H 304.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#87799A
RGBrgb(135, 121, 154)
HSLhsl(265, 14%, 54%)
HSVhsv(265, 21%, 60%)
CMYKcmyk(12.3%, 21.4%, 0%, 39.6%)
CIE-LABlab(53.12, 12.09, -15.78)
CIE-LCHlch(53.12, 19.88, 307.47°)
OKLaboklab(60.05% 0.0291 -0.0429)
OKLCHoklch(60.05% 0.052 304.2)
XYZxyz(22.6607, 21.1588, 33.4558)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87799A #8C9A79
analogous
#797C9A #87799A #98799A
triadic
#87799A #9A8779 #799A87
tetradic
#87799A #9A797C #8C9A79 #799A98
square
#87799A #9A797C #8C9A79 #799A98
split-complementary
#87799A #9A9879 #7C9A79
monochromatic
#4B4257 #695C7A #87799A #A69CB4 #C6BFCF

Accessibility & contrast

On white

4.01
#87799A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#87799A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87799A
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87799A#FFFFFF#000000##000000
##87799A1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#737E9B
Deuteranopia (green-blind)
#767F99
Tritanopia (blue-blind)
#847D84
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #87799a;
/* rgb */ color: rgb(135, 121, 154);
/* oklch */ color: oklch(60.1% 0.052 304.2);
Tailwind
colors: {
  custom: {
    50: '#aa9fb7',
    500: '#87799a',
    950: '#000000',
  },
}
SCSS
$custom: #87799a;
$custom-light: #aa9fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#87799a",
  "rgb": {
    "r": 135,
    "g": 121,
    "b": 154
  },
  "hsl": {
    "h": 265.455,
    "s": 14.043,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60052,
    "c": 0.05185,
    "h": 304.2
  },
  "luminance": 0.21159
}

Semantic roles & 50–950 ramp

primary
#87799A
secondary
#B8BEB0
accent
#B77199
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E11
muted
#7F7E80

Preview Lab

Preview with #87799A

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

Preview Lab → · Contrast checker → · Palette generator →

#87799A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva