#998AB9#998AB9

#998AB9 is a light, moderate violet. Relative luminance 0.285; OKLCH L 66.4% C 0.071 H 299.1°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#998AB9
RGBrgb(153, 138, 185)
HSLhsl(259, 25%, 63%)
HSVhsv(259, 25%, 73%)
CMYKcmyk(17.3%, 25.4%, 0%, 27.5%)
CIE-LABlab(60.29, 15.24, -22.50)
CIE-LCHlch(60.29, 27.18, 304.12°)
OKLaboklab(66.36% 0.0343 -0.0616)
OKLCHoklch(66.36% 0.071 299.1)
XYZxyz(30.9805, 28.4519, 49.7492)
Luminance0.2845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998AB9 #AAB98A
analogous
#8A92B9 #998AB9 #B08AB9
triadic
#998AB9 #B9998A #8AB999
tetradic
#998AB9 #B98A92 #AAB98A #8AB9B0
square
#998AB9 #B98A92 #AAB98A #8AB9B0
split-complementary
#998AB9 #B9B08A #92B98A
monochromatic
#5B4B7E #7864A2 #998AB9 #BAB0D0 #DCD7E7

Accessibility & contrast

On white

3.14
#998AB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#998AB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998AB9
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998AB9#FFFFFF#000000##000000
##998AB91.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8091BB
Deuteranopia (green-blind)
#8391B8
Tritanopia (blue-blind)
#93919A
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #998ab9;
/* rgb */ color: rgb(153, 138, 185);
/* oklch */ color: oklch(66.4% 0.071 299.1);
Tailwind
colors: {
  custom: {
    50: '#b7acce',
    500: '#998ab9',
    950: '#000000',
  },
}
SCSS
$custom: #998ab9;
$custom-light: #b7acce;
$custom-dark: #000000;
JSON
{
  "hex": "#998ab9",
  "rgb": {
    "r": 153,
    "g": 138,
    "b": 185
  },
  "hsl": {
    "h": 259.149,
    "s": 25.134,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66357,
    "c": 0.07052,
    "h": 299.1
  },
  "luminance": 0.28452
}

Semantic roles & 50–950 ramp

primary
#998AB9
secondary
#D2D8C7
accent
#A44284
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111013
muted
#807F82

Preview Lab

Preview with #998AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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