#98799C#98799C

#98799C is a mid, moderate purple. Relative luminance 0.228; OKLCH L 61.8% C 0.063 H 322.5°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#98799C
RGBrgb(152, 121, 156)
HSLhsl(293, 15%, 54%)
HSVhsv(293, 22%, 61%)
CMYKcmyk(2.6%, 22.4%, 0%, 38.8%)
CIE-LABlab(54.81, 18.45, -14.23)
CIE-LCHlch(54.81, 23.29, 322.36°)
OKLaboklab(61.76% 0.05 -0.0383)
OKLCHoklch(61.76% 0.063 322.5)
XYZxyz(25.7863, 22.7510, 34.4790)
Luminance0.2275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98799C #7D9C79
analogous
#87799C #98799C #9C798F
triadic
#98799C #9C9879 #799C98
tetradic
#98799C #9C8779 #7D9C79 #798F9C
square
#98799C #9C8779 #7D9C79 #798F9C
split-complementary
#98799C #8F9C79 #799C87
monochromatic
#564259 #785C7C #98799C #B39CB6 #CEBFD0

Accessibility & contrast

On white

3.78
#98799C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#98799C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98799C
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98799C#FFFFFF#000000##000000
##98799C1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#76819D
Deuteranopia (green-blind)
#7D849B
Tritanopia (blue-blind)
#997C85
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #98799c;
/* rgb */ color: rgb(152, 121, 156);
/* oklch */ color: oklch(61.8% 0.063 322.5);
Tailwind
colors: {
  custom: {
    50: '#b6a0b9',
    500: '#98799c',
    950: '#000000',
  },
}
SCSS
$custom: #98799c;
$custom-light: #b6a0b9;
$custom-dark: #000000;
JSON
{
  "hex": "#98799c",
  "rgb": {
    "r": 152,
    "g": 121,
    "b": 156
  },
  "hsl": {
    "h": 293.143,
    "s": 15.021,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61764,
    "c": 0.06303,
    "h": 322.5
  },
  "luminance": 0.2275
}

Semantic roles & 50–950 ramp

primary
#98799C
secondary
#B3C0B1
accent
#B87078
background
#FBF9FB
surface
#F6F2F6
border
#D0CCD0
text
#110E11
muted
#807E80

Preview Lab

Preview with #98799C

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

Preview Lab → · Contrast checker → · Palette generator →

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