#998EA7#998EA7

#998EA7 is a light, muted violet. Relative luminance 0.289; OKLCH L 66.5% C 0.038 H 305.3°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#998EA7
RGBrgb(153, 142, 167)
HSLhsl(266, 12%, 61%)
HSVhsv(266, 15%, 65%)
CMYKcmyk(8.4%, 15%, 0%, 34.5%)
CIE-LABlab(60.70, 9.01, -11.67)
CIE-LCHlch(60.70, 14.74, 307.67°)
OKLaboklab(66.46% 0.0222 -0.0314)
OKLCHoklch(66.46% 0.039 305.3)
XYZxyz(29.7837, 28.9084, 40.5625)
Luminance0.2891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998EA7 #9CA78E
analogous
#8E8FA7 #998EA7 #A58EA7
triadic
#998EA7 #A7998E #8EA799
tetradic
#998EA7 #A78E8F #9CA78E #8EA7A5
square
#998EA7 #A78E8F #9CA78E #8EA7A5
split-complementary
#998EA7 #A7A58E #8FA78E
monochromatic
#5C5269 #7A6C8B #998EA7 #B8B0C2 #D7D3DD

Accessibility & contrast

On white

3.10
#998EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#998EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998EA7
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998EA7#FFFFFF#000000##000000
##998EA71.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A92A8
Deuteranopia (green-blind)
#8C92A6
Tritanopia (blue-blind)
#979196
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #998ea7;
/* rgb */ color: rgb(153, 142, 167);
/* oklch */ color: oklch(66.5% 0.038 305.3);
Tailwind
colors: {
  custom: {
    50: '#b7afc1',
    500: '#998ea7',
    950: '#000000',
  },
}
SCSS
$custom: #998ea7;
$custom-light: #b7afc1;
$custom-dark: #000000;
JSON
{
  "hex": "#998ea7",
  "rgb": {
    "r": 153,
    "g": 142,
    "b": 167
  },
  "hsl": {
    "h": 266.4,
    "s": 12.438,
    "l": 60.588
  },
  "oklch": {
    "l": 0.66462,
    "c": 0.0385,
    "h": 305.3
  },
  "luminance": 0.28908
}

Semantic roles & 50–950 ramp

primary
#998EA7
secondary
#C9CDC4
accent
#974F77
background
#FBFAFB
surface
#F6F4F7
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #998EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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