#998FAF#998FAF

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

Color values

HEX#998FAF
RGBrgb(153, 143, 175)
HSLhsl(259, 17%, 62%)
HSVhsv(259, 18%, 69%)
CMYKcmyk(12.6%, 18.3%, 0%, 31.4%)
CIE-LABlab(61.23, 10.15, -15.41)
CIE-LCHlch(61.23, 18.45, 303.38°)
OKLaboklab(66.96% 0.0235 -0.0418)
OKLCHoklch(66.96% 0.048 299.4)
XYZxyz(30.6957, 29.5123, 44.6284)
Luminance0.2951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998FAF #A5AF8F
analogous
#8F95AF #998FAF #A98FAF
triadic
#998FAF #AF998F #8FAF99
tetradic
#998FAF #AF8F95 #A5AF8F #8FAFA9
square
#998FAF #AF8F95 #A5AF8F #8FAFA9
split-complementary
#998FAF #AFA98F #95AF8F
monochromatic
#5C5172 #786B96 #998FAF #BAB3C9 #DAD6E2

Accessibility & contrast

On white

3.04
#998FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#998FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998FAF
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998FAF#FFFFFF#000000##000000
##998FAF1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8994B0
Deuteranopia (green-blind)
#8A94AE
Tritanopia (blue-blind)
#95949A
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #998faf;
/* rgb */ color: rgb(153, 143, 175);
/* oklch */ color: oklch(67.0% 0.048 299.4);
Tailwind
colors: {
  custom: {
    50: '#b7afc7',
    500: '#998faf',
    950: '#000000',
  },
}
SCSS
$custom: #998faf;
$custom-light: #b7afc7;
$custom-dark: #000000;
JSON
{
  "hex": "#998faf",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 175
  },
  "hsl": {
    "h": 258.75,
    "s": 16.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66963,
    "c": 0.04796,
    "h": 299.4
  },
  "luminance": 0.29512
}

Semantic roles & 50–950 ramp

primary
#998FAF
secondary
#CFD3C7
accent
#9B4B82
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111013
muted
#807F82

Preview Lab

Preview with #998FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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