#98779B#98779B

#98779B is a mid, moderate purple. Relative luminance 0.222; OKLCH L 61.3% C 0.066 H 323.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#98779B
RGBrgb(152, 119, 155)
HSLhsl(295, 15%, 54%)
HSVhsv(295, 23%, 61%)
CMYKcmyk(1.9%, 23.2%, 0%, 39.2%)
CIE-LABlab(54.28, 19.40, -14.46)
CIE-LCHlch(54.28, 24.20, 323.30°)
OKLaboklab(61.34% 0.0529 -0.039)
OKLCHoklch(61.34% 0.066 323.6)
XYZxyz(25.4614, 22.2362, 33.9547)
Luminance0.2224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98779B #7A9B77
analogous
#86779B #98779B #9B778C
triadic
#98779B #9B9877 #779B98
tetradic
#98779B #9B8677 #7A9B77 #778C9B
square
#98779B #9B8677 #7A9B77 #778C9B
split-complementary
#98779B #8C9B77 #779B86
monochromatic
#554057 #785A7B #98779B #B39AB5 #CDBECF

Accessibility & contrast

On white

3.86
#98779B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#98779B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98779B
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98779B#FFFFFF#000000##000000
##98779B1.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#747F9C
Deuteranopia (green-blind)
#7B839A
Tritanopia (blue-blind)
#9A7A83
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #98779b;
/* rgb */ color: rgb(152, 119, 155);
/* oklch */ color: oklch(61.3% 0.066 323.6);
Tailwind
colors: {
  custom: {
    50: '#b69eb8',
    500: '#98779b',
    950: '#000000',
  },
}
SCSS
$custom: #98779b;
$custom-light: #b69eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#98779b",
  "rgb": {
    "r": 152,
    "g": 119,
    "b": 155
  },
  "hsl": {
    "h": 295,
    "s": 15.254,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61339,
    "c": 0.06569,
    "h": 323.6
  },
  "luminance": 0.22236
}

Semantic roles & 50–950 ramp

primary
#98779B
secondary
#B0BFAF
accent
#B87076
background
#FBF9FB
surface
#F6F2F6
border
#D0CCD0
text
#110E11
muted
#807E80

Preview Lab

Preview with #98779B

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

Preview Lab → · Contrast checker → · Palette generator →

#98779B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva