#998DB5#998DB5

#998DB5 is a light, muted violet. Relative luminance 0.292; OKLCH L 66.8% C 0.060 H 298.5°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#998DB5
RGBrgb(153, 141, 181)
HSLhsl(258, 21%, 63%)
HSVhsv(258, 22%, 71%)
CMYKcmyk(15.5%, 22.1%, 0%, 29%)
CIE-LABlab(60.92, 12.62, -19.28)
CIE-LCHlch(60.92, 23.04, 303.21°)
OKLaboklab(66.79% 0.0286 -0.0526)
OKLCHoklch(66.79% 0.06 298.5)
XYZxyz(31.0005, 29.1581, 47.7020)
Luminance0.2916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998DB5 #A9B58D
analogous
#8D95B5 #998DB5 #AD8DB5
triadic
#998DB5 #B5998D #8DB599
tetradic
#998DB5 #B58D95 #A9B58D #8DB5AD
square
#998DB5 #B58D95 #A9B58D #8DB5AD
split-complementary
#998DB5 #B5AD8D #95B58D
monochromatic
#5B4F79 #78689D #998DB5 #BAB2CD #DBD7E5

Accessibility & contrast

On white

3.07
#998DB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#998DB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998DB5
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998DB5#FFFFFF#000000##000000
##998DB51.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8593B7
Deuteranopia (green-blind)
#8793B4
Tritanopia (blue-blind)
#94939B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #998db5;
/* rgb */ color: rgb(153, 141, 181);
/* oklch */ color: oklch(66.8% 0.060 298.5);
Tailwind
colors: {
  custom: {
    50: '#b7aecb',
    500: '#998db5',
    950: '#000000',
  },
}
SCSS
$custom: #998db5;
$custom-light: #b7aecb;
$custom-dark: #000000;
JSON
{
  "hex": "#998db5",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 181
  },
  "hsl": {
    "h": 258,
    "s": 21.277,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66792,
    "c": 0.05983,
    "h": 298.5
  },
  "luminance": 0.29158
}

Semantic roles & 50–950 ramp

primary
#998DB5
secondary
#D2D6C8
accent
#A04685
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111013
muted
#807F82

Preview Lab

Preview with #998DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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