#998DB9#998DB9

#998DB9 is a light, moderate violet. Relative luminance 0.293; OKLCH L 67.0% C 0.066 H 297.1°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#998DB9
RGBrgb(153, 141, 185)
HSLhsl(256, 24%, 64%)
HSVhsv(256, 24%, 73%)
CMYKcmyk(17.3%, 23.8%, 0%, 27.5%)
CIE-LABlab(61.07, 13.52, -21.32)
CIE-LCHlch(61.07, 25.25, 302.39°)
OKLaboklab(66.95% 0.0298 -0.0583)
OKLCHoklch(66.95% 0.066 297.1)
XYZxyz(31.4168, 29.3247, 49.8946)
Luminance0.2933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998DB9 #ADB98D
analogous
#8D97B9 #998DB9 #AF8DB9
triadic
#998DB9 #B9998D #8DB999
tetradic
#998DB9 #B98D97 #ADB98D #8DB9AF
square
#998DB9 #B98D97 #ADB98D #8DB9AF
split-complementary
#998DB9 #B9AF8D #97B98D
monochromatic
#5B4D7E #7767A2 #998DB9 #BBB3D0 #DDD9E8

Accessibility & contrast

On white

3.06
#998DB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#998DB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998DB9
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998DB9#FFFFFF#000000##000000
##998DB91.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8494BB
Deuteranopia (green-blind)
#8593B8
Tritanopia (blue-blind)
#93949C
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #998db9;
/* rgb */ color: rgb(153, 141, 185);
/* oklch */ color: oklch(67.0% 0.066 297.1);
Tailwind
colors: {
  custom: {
    50: '#b7aece',
    500: '#998db9',
    950: '#000000',
  },
}
SCSS
$custom: #998db9;
$custom-light: #b7aece;
$custom-dark: #000000;
JSON
{
  "hex": "#998db9",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 185
  },
  "hsl": {
    "h": 256.364,
    "s": 23.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66954,
    "c": 0.0655,
    "h": 297.1
  },
  "luminance": 0.29325
}

Semantic roles & 50–950 ramp

primary
#998DB9
secondary
#D4D9C9
accent
#A24388
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111013
muted
#807F82

Preview Lab

Preview with #998DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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