#998EB4#998EB4

#998EB4 is a light, muted violet. Relative luminance 0.294; OKLCH L 67.0% C 0.057 H 298.1°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#998EB4
RGBrgb(153, 142, 180)
HSLhsl(257, 20%, 63%)
HSVhsv(257, 21%, 71%)
CMYKcmyk(15%, 21.1%, 0%, 29.4%)
CIE-LABlab(61.14, 11.82, -18.37)
CIE-LCHlch(61.14, 21.85, 302.77°)
OKLaboklab(66.95% 0.0267 -0.05)
OKLCHoklch(66.95% 0.057 298.1)
XYZxyz(31.0464, 29.4135, 47.2129)
Luminance0.2941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998EB4 #A9B48E
analogous
#8E96B4 #998EB4 #AC8EB4
triadic
#998EB4 #B4998E #8EB499
tetradic
#998EB4 #B48E96 #A9B48E #8EB4AC
square
#998EB4 #B48E96 #A9B48E #8EB4AC
split-complementary
#998EB4 #B4AC8E #96B48E
monochromatic
#5B5078 #78699C #998EB4 #BAB3CC #DBD8E5

Accessibility & contrast

On white

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

On black

6.88
#998EB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998EB4
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998EB4#FFFFFF#000000##000000
##998EB41.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #998eb4;
/* rgb */ color: rgb(153, 142, 180);
/* oklch */ color: oklch(67.0% 0.057 298.1);
Tailwind
colors: {
  custom: {
    50: '#b7afca',
    500: '#998eb4',
    950: '#000000',
  },
}
SCSS
$custom: #998eb4;
$custom-light: #b7afca;
$custom-dark: #000000;
JSON
{
  "hex": "#998eb4",
  "rgb": {
    "r": 153,
    "g": 142,
    "b": 180
  },
  "hsl": {
    "h": 257.368,
    "s": 20.213,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66954,
    "c": 0.05673,
    "h": 298.1
  },
  "luminance": 0.29414
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #998EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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