#998EA2#998EA2

#998EA2 is a light, muted violet. Relative luminance 0.287; OKLCH L 66.3% C 0.032 H 310.0°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#998EA2
RGBrgb(153, 142, 162)
HSLhsl(273, 10%, 60%)
HSVhsv(273, 12%, 64%)
CMYKcmyk(5.6%, 12.3%, 0%, 36.5%)
CIE-LABlab(60.54, 7.97, -9.06)
CIE-LCHlch(60.54, 12.07, 311.32°)
OKLaboklab(66.28% 0.0204 -0.0243)
OKLCHoklch(66.28% 0.032 310)
XYZxyz(29.3303, 28.7271, 38.1751)
Luminance0.2873 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998EA2 #97A28E
analogous
#8F8EA2 #998EA2 #A28EA1
triadic
#998EA2 #A2998E #8EA299
tetradic
#998EA2 #A28F8E #97A28E #8EA1A2
square
#998EA2 #A28F8E #97A28E #8EA1A2
split-complementary
#998EA2 #A1A28E #8EA28F
monochromatic
#5C5264 #7B6E85 #998EA2 #B7B0BE #D6D1D9

Accessibility & contrast

On white

3.11
#998EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#998EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998EA2
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998EA2#FFFFFF#000000##000000
##998EA21.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B91A3
Deuteranopia (green-blind)
#8D92A1
Tritanopia (blue-blind)
#989094
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #998ea2;
/* rgb */ color: rgb(153, 142, 162);
/* oklch */ color: oklch(66.3% 0.032 310.0);
Tailwind
colors: {
  custom: {
    50: '#b7afbd',
    500: '#998ea2',
    950: '#000000',
  },
}
SCSS
$custom: #998ea2;
$custom-light: #b7afbd;
$custom-dark: #000000;
JSON
{
  "hex": "#998ea2",
  "rgb": {
    "r": 153,
    "g": 142,
    "b": 162
  },
  "hsl": {
    "h": 273,
    "s": 9.709,
    "l": 59.608
  },
  "oklch": {
    "l": 0.66284,
    "c": 0.03172,
    "h": 310
  },
  "luminance": 0.28727
}

Semantic roles & 50–950 ramp

primary
#998EA2
secondary
#C6CAC2
accent
#B37591
background
#FBFAFB
surface
#F6F4F6
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #998EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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