#998EA4#998EA4

#998EA4 is a light, muted violet. Relative luminance 0.288; OKLCH L 66.4% C 0.034 H 307.9°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#998EA4
RGBrgb(153, 142, 164)
HSLhsl(270, 11%, 60%)
HSVhsv(270, 13%, 64%)
CMYKcmyk(6.7%, 13.4%, 0%, 35.7%)
CIE-LABlab(60.60, 8.38, -10.11)
CIE-LCHlch(60.60, 13.13, 309.67°)
OKLaboklab(66.36% 0.0211 -0.0271)
OKLCHoklch(66.36% 0.034 307.9)
XYZxyz(29.5095, 28.7987, 39.1189)
Luminance0.2880 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998EA4 #99A48E
analogous
#8E8EA4 #998EA4 #A48EA4
triadic
#998EA4 #A4998E #8EA499
tetradic
#998EA4 #A48E8E #99A48E #8EA4A4
square
#998EA4 #A48E8E #99A48E #8EA4A4
split-complementary
#998EA4 #A4A48E #8EA48E
monochromatic
#5C5266 #7A6D88 #998EA4 #B8B0BF #D6D2DB

Accessibility & contrast

On white

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

On black

6.76
#998EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998EA4
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998EA4#FFFFFF#000000##000000
##998EA41.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B92A5
Deuteranopia (green-blind)
#8D92A3
Tritanopia (blue-blind)
#989195
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #998ea4;
/* rgb */ color: rgb(153, 142, 164);
/* oklch */ color: oklch(66.4% 0.034 307.9);
Tailwind
colors: {
  custom: {
    50: '#b7afbf',
    500: '#998ea4',
    950: '#000000',
  },
}
SCSS
$custom: #998ea4;
$custom-light: #b7afbf;
$custom-dark: #000000;
JSON
{
  "hex": "#998ea4",
  "rgb": {
    "r": 153,
    "g": 142,
    "b": 164
  },
  "hsl": {
    "h": 270,
    "s": 10.784,
    "l": 60
  },
  "oklch": {
    "l": 0.66355,
    "c": 0.0344,
    "h": 307.9
  },
  "luminance": 0.28799
}

Semantic roles & 50–950 ramp

primary
#998EA4
secondary
#C7CBC3
accent
#B47494
background
#FBFAFB
surface
#F6F4F7
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #998EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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