#998BB3#998BB3

#998BB3 is a light, moderate violet. Relative luminance 0.285; OKLCH L 66.3% C 0.060 H 300.8°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#998BB3
RGBrgb(153, 139, 179)
HSLhsl(261, 21%, 62%)
HSVhsv(261, 22%, 70%)
CMYKcmyk(14.5%, 22.3%, 0%, 29.8%)
CIE-LABlab(60.33, 13.32, -19.04)
CIE-LCHlch(60.33, 23.24, 304.97°)
OKLaboklab(66.31% 0.0309 -0.0519)
OKLCHoklch(66.31% 0.06 300.8)
XYZxyz(30.5045, 28.4922, 46.5316)
Luminance0.2849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998BB3 #A5B38B
analogous
#8B91B3 #998BB3 #AD8BB3
triadic
#998BB3 #B3998B #8BB399
tetradic
#998BB3 #B38B91 #A5B38B #8BB3AD
square
#998BB3 #B38B91 #A5B38B #8BB3AD
split-complementary
#998BB3 #B3AD8B #91B38B
monochromatic
#5C4D76 #78669B #998BB3 #BAB0CB #DAD5E3

Accessibility & contrast

On white

3.14
#998BB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#998BB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998BB3
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998BB3#FFFFFF#000000##000000
##998BB31.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8391B5
Deuteranopia (green-blind)
#8591B2
Tritanopia (blue-blind)
#959199
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #998bb3;
/* rgb */ color: rgb(153, 139, 179);
/* oklch */ color: oklch(66.3% 0.060 300.8);
Tailwind
colors: {
  custom: {
    50: '#b7acc9',
    500: '#998bb3',
    950: '#000000',
  },
}
SCSS
$custom: #998bb3;
$custom-light: #b7acc9;
$custom-dark: #000000;
JSON
{
  "hex": "#998bb3",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 179
  },
  "hsl": {
    "h": 261,
    "s": 20.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66312,
    "c": 0.0604,
    "h": 300.8
  },
  "luminance": 0.28492
}

Semantic roles & 50–950 ramp

primary
#998BB3
secondary
#CFD4C6
accent
#9F4680
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111013
muted
#807F82

Preview Lab

Preview with #998BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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