#998EB2#998EB2

#998EB2 is a light, muted violet. Relative luminance 0.293; OKLCH L 66.9% C 0.054 H 298.9°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#998EB2
RGBrgb(153, 142, 178)
HSLhsl(258, 19%, 63%)
HSVhsv(258, 20%, 70%)
CMYKcmyk(14%, 20.2%, 0%, 30.2%)
CIE-LABlab(61.07, 11.38, -17.34)
CIE-LCHlch(61.07, 20.74, 303.27°)
OKLaboklab(66.88% 0.0261 -0.0472)
OKLCHoklch(66.88% 0.054 298.9)
XYZxyz(30.8441, 29.3326, 46.1476)
Luminance0.2933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998EB2 #A7B28E
analogous
#8E95B2 #998EB2 #AB8EB2
triadic
#998EB2 #B2998E #8EB299
tetradic
#998EB2 #B28E95 #A7B28E #8EB2AB
square
#998EB2 #B28E95 #A7B28E #8EB2AB
split-complementary
#998EB2 #B2AB8E #95B28E
monochromatic
#5C5076 #786A99 #998EB2 #BAB2CB #DBD7E4

Accessibility & contrast

On white

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

On black

6.87
#998EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998EB2
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998EB2#FFFFFF#000000##000000
##998EB21.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8793B4
Deuteranopia (green-blind)
#8993B1
Tritanopia (blue-blind)
#95939A
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #998eb2;
/* rgb */ color: rgb(153, 142, 178);
/* oklch */ color: oklch(66.9% 0.054 298.9);
Tailwind
colors: {
  custom: {
    50: '#b7afc9',
    500: '#998eb2',
    950: '#000000',
  },
}
SCSS
$custom: #998eb2;
$custom-light: #b7afc9;
$custom-dark: #000000;
JSON
{
  "hex": "#998eb2",
  "rgb": {
    "r": 153,
    "g": 142,
    "b": 178
  },
  "hsl": {
    "h": 258.333,
    "s": 18.947,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66876,
    "c": 0.0539,
    "h": 298.9
  },
  "luminance": 0.29333
}

Semantic roles & 50–950 ramp

primary
#998EB2
secondary
#D0D4C7
accent
#9D4883
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111013
muted
#807F82

Preview Lab

Preview with #998EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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