#998EB5#998EB5

#998EB5 is a light, muted violet. Relative luminance 0.295; OKLCH L 67.0% C 0.058 H 297.7°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#998EB5
RGBrgb(153, 142, 181)
HSLhsl(257, 21%, 63%)
HSVhsv(257, 22%, 71%)
CMYKcmyk(15.5%, 21.5%, 0%, 29%)
CIE-LABlab(61.18, 12.05, -18.88)
CIE-LCHlch(61.18, 22.40, 302.54°)
OKLaboklab(66.99% 0.0271 -0.0515)
OKLCHoklch(66.99% 0.058 297.7)
XYZxyz(31.1486, 29.4544, 47.7514)
Luminance0.2945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998EB5 #AAB58E
analogous
#8E96B5 #998EB5 #AC8EB5
triadic
#998EB5 #B5998E #8EB599
tetradic
#998EB5 #B58E96 #AAB58E #8EB5AC
square
#998EB5 #B58E96 #AAB58E #8EB5AC
split-complementary
#998EB5 #B5AC8E #96B58E
monochromatic
#5B4F79 #78699D #998EB5 #BAB3CD #DCD8E5

Accessibility & contrast

On white

3.05
#998EB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#998EB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998EB5
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998EB5#FFFFFF#000000##000000
##998EB51.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8694B7
Deuteranopia (green-blind)
#8893B4
Tritanopia (blue-blind)
#94949B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #998eb5;
/* rgb */ color: rgb(153, 142, 181);
/* oklch */ color: oklch(67.0% 0.058 297.7);
Tailwind
colors: {
  custom: {
    50: '#b7afcb',
    500: '#998eb5',
    950: '#000000',
  },
}
SCSS
$custom: #998eb5;
$custom-light: #b7afcb;
$custom-dark: #000000;
JSON
{
  "hex": "#998eb5",
  "rgb": {
    "r": 153,
    "g": 142,
    "b": 181
  },
  "hsl": {
    "h": 256.923,
    "s": 20.856,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66993,
    "c": 0.05815,
    "h": 297.7
  },
  "luminance": 0.29455
}

Semantic roles & 50–950 ramp

primary
#998EB5
secondary
#D2D6C8
accent
#9F4686
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111013
muted
#807F82

Preview Lab

Preview with #998EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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