#87799C#87799C

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

Color values

HEX#87799C
RGBrgb(135, 121, 156)
HSLhsl(264, 15%, 54%)
HSVhsv(264, 22%, 61%)
CMYKcmyk(13.5%, 22.4%, 0%, 38.8%)
CIE-LABlab(53.20, 12.54, -16.83)
CIE-LCHlch(53.20, 20.99, 306.69°)
OKLaboklab(60.13% 0.0298 -0.0458)
OKLCHoklch(60.13% 0.055 303)
XYZxyz(22.8286, 21.2260, 34.3404)
Luminance0.2123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87799C #8E9C79
analogous
#797D9C #87799C #99799C
triadic
#87799C #9C8779 #799C87
tetradic
#87799C #9C797D #8E9C79 #799C99
square
#87799C #9C797D #8E9C79 #799C99
split-complementary
#87799C #9C9979 #7D9C79
monochromatic
#4B4259 #695C7C #87799C #A79CB6 #C6BFD0

Accessibility & contrast

On white

4.00
#87799C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#87799C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87799C
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87799C#FFFFFF#000000##000000
##87799C1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#737F9E
Deuteranopia (green-blind)
#757F9B
Tritanopia (blue-blind)
#847E85
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #87799c;
/* rgb */ color: rgb(135, 121, 156);
/* oklch */ color: oklch(60.1% 0.055 303.0);
Tailwind
colors: {
  custom: {
    50: '#aa9fb9',
    500: '#87799c',
    950: '#000000',
  },
}
SCSS
$custom: #87799c;
$custom-light: #aa9fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#87799c",
  "rgb": {
    "r": 135,
    "g": 121,
    "b": 156
  },
  "hsl": {
    "h": 264,
    "s": 15.021,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60132,
    "c": 0.05467,
    "h": 303
  },
  "luminance": 0.21226
}

Semantic roles & 50–950 ramp

primary
#87799C
secondary
#BAC0B1
accent
#B8709B
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E11
muted
#7F7E80

Preview Lab

Preview with #87799C

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

Preview Lab → · Contrast checker → · Palette generator →

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