#998BB7#998BB7

#998BB7 is a light, moderate violet. Relative luminance 0.287; OKLCH L 66.5% C 0.066 H 299.2°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#998BB7
RGBrgb(153, 139, 183)
HSLhsl(259, 23%, 63%)
HSVhsv(259, 24%, 72%)
CMYKcmyk(16.4%, 24%, 0%, 28.2%)
CIE-LABlab(60.48, 14.22, -21.09)
CIE-LCHlch(60.48, 25.43, 303.99°)
OKLaboklab(66.47% 0.0322 -0.0576)
OKLCHoklch(66.47% 0.066 299.2)
XYZxyz(30.9150, 28.6563, 48.6931)
Luminance0.2866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998BB7 #A9B78B
analogous
#8B93B7 #998BB7 #AF8BB7
triadic
#998BB7 #B7998B #8BB799
tetradic
#998BB7 #B78B93 #A9B78B #8BB7AF
square
#998BB7 #B78B93 #A9B78B #8BB7AF
split-complementary
#998BB7 #B7AF8B #93B78B
monochromatic
#5B4C7B #7865A0 #998BB7 #BAB1CE #DBD7E6

Accessibility & contrast

On white

3.12
#998BB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#998BB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998BB7
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998BB7#FFFFFF#000000##000000
##998BB71.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8292B9
Deuteranopia (green-blind)
#8492B6
Tritanopia (blue-blind)
#94919A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #998bb7;
/* rgb */ color: rgb(153, 139, 183);
/* oklch */ color: oklch(66.5% 0.066 299.2);
Tailwind
colors: {
  custom: {
    50: '#b7adcc',
    500: '#998bb7',
    950: '#000000',
  },
}
SCSS
$custom: #998bb7;
$custom-light: #b7adcc;
$custom-dark: #000000;
JSON
{
  "hex": "#998bb7",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 183
  },
  "hsl": {
    "h": 259.091,
    "s": 23.404,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66473,
    "c": 0.06602,
    "h": 299.2
  },
  "luminance": 0.28656
}

Semantic roles & 50–950 ramp

primary
#998BB7
secondary
#D2D7C7
accent
#A24484
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111013
muted
#807F82

Preview Lab

Preview with #998BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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