#998AC9#998AC9

#998AC9 is a light, moderate violet. Relative luminance 0.292; OKLCH L 67.1% C 0.093 H 294.7°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#998AC9
RGBrgb(153, 138, 201)
HSLhsl(254, 37%, 66%)
HSVhsv(254, 31%, 79%)
CMYKcmyk(23.9%, 31.3%, 0%, 21.2%)
CIE-LABlab(60.93, 19.00, -30.56)
CIE-LCHlch(60.93, 35.98, 301.88°)
OKLaboklab(67.05% 0.0389 -0.0845)
OKLCHoklch(67.05% 0.093 294.7)
XYZxyz(32.7655, 29.1660, 59.1504)
Luminance0.2917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998AC9 #BAC98A
analogous
#8A9BC9 #998AC9 #B98AC9
triadic
#998AC9 #C9998A #8AC999
tetradic
#998AC9 #C98A9B #BAC98A #8AC9B9
square
#998AC9 #C98A9B #BAC98A #8AC9B9
split-complementary
#998AC9 #C9B98A #9BC98A
monochromatic
#574494 #7460B6 #998AC9 #BEB4DC #E2DEF0

Accessibility & contrast

On white

3.07
#998AC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#998AC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998AC9
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998AC9#FFFFFF#000000##000000
##998AC91.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B94CC
Deuteranopia (green-blind)
#7C92C7
Tritanopia (blue-blind)
#8F94A1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #998ac9;
/* rgb */ color: rgb(153, 138, 201);
/* oklch */ color: oklch(67.1% 0.093 294.7);
Tailwind
colors: {
  custom: {
    50: '#b8acd9',
    500: '#998ac9',
    950: '#000000',
  },
}
SCSS
$custom: #998ac9;
$custom-light: #b8acd9;
$custom-dark: #000000;
JSON
{
  "hex": "#998ac9",
  "rgb": {
    "r": 153,
    "g": 138,
    "b": 201
  },
  "hsl": {
    "h": 254.286,
    "s": 36.842,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67053,
    "c": 0.09304,
    "h": 294.7
  },
  "luminance": 0.29166
}

Semantic roles & 50–950 ramp

primary
#998AC9
secondary
#DDE2CD
accent
#B03693
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111014
muted
#807F83

Preview Lab

Preview with #998AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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