#998FA2#998FA2

#998FA2 is a light, muted violet. Relative luminance 0.290; OKLCH L 66.5% C 0.030 H 309.1°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#998FA2
RGBrgb(153, 143, 162)
HSLhsl(272, 9%, 60%)
HSVhsv(272, 12%, 64%)
CMYKcmyk(5.6%, 11.7%, 0%, 36.5%)
CIE-LABlab(60.80, 7.40, -8.67)
CIE-LCHlch(60.80, 11.40, 310.49°)
OKLaboklab(66.49% 0.0189 -0.0232)
OKLCHoklch(66.49% 0.03 309.1)
XYZxyz(29.4798, 29.0260, 38.2249)
Luminance0.2903 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998FA2 #98A28F
analogous
#908FA2 #998FA2 #A28FA1
triadic
#998FA2 #A2998F #8FA299
tetradic
#998FA2 #A2908F #98A28F #8FA1A2
square
#998FA2 #A2908F #98A28F #8FA1A2
split-complementary
#998FA2 #A1A28F #8FA290
monochromatic
#5C5364 #7A6F85 #998FA2 #B7B0BE #D6D2DA

Accessibility & contrast

On white

3.09
#998FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#998FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998FA2
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998FA2#FFFFFF#000000##000000
##998FA21.003.096.816.81
#FFFFFF3.091.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C92A3
Deuteranopia (green-blind)
#8E93A1
Tritanopia (blue-blind)
#989195
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #998fa2;
/* rgb */ color: rgb(153, 143, 162);
/* oklch */ color: oklch(66.5% 0.030 309.1);
Tailwind
colors: {
  custom: {
    50: '#b7afbd',
    500: '#998fa2',
    950: '#000000',
  },
}
SCSS
$custom: #998fa2;
$custom-light: #b7afbd;
$custom-dark: #000000;
JSON
{
  "hex": "#998fa2",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 162
  },
  "hsl": {
    "h": 271.579,
    "s": 9.268,
    "l": 59.804
  },
  "oklch": {
    "l": 0.6649,
    "c": 0.02992,
    "h": 309.1
  },
  "luminance": 0.29026
}

Semantic roles & 50–950 ramp

primary
#998FA2
secondary
#C6CAC3
accent
#B27692
background
#FBFAFB
surface
#F6F4F6
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #998FA2

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

Preview Lab → · Contrast checker → · Palette generator →

#998FA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva