#998FDD#998FDD

#998FDD is a light, moderate blue. Relative luminance 0.316; OKLCH L 69.0% C 0.113 H 288.9°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#998FDD
RGBrgb(153, 143, 221)
HSLhsl(248, 53%, 71%)
HSVhsv(248, 35%, 87%)
CMYKcmyk(30.8%, 35.3%, 0%, 13.3%)
CIE-LABlab(63.04, 21.09, -38.45)
CIE-LCHlch(63.04, 43.85, 298.75°)
OKLaboklab(68.96% 0.0368 -0.1072)
OKLCHoklch(68.96% 0.113 288.9)
XYZxyz(36.0071, 31.6369, 72.6020)
Luminance0.3164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998FDD #D3DD8F
analogous
#8FACDD #998FDD #C08FDD
triadic
#998FDD #DD998F #8FDD99
tetradic
#998FDD #DD8FAC #D3DD8F #8FDDC0
square
#998FDD #DD8FAC #D3DD8F #8FDDC0
split-complementary
#998FDD #DDC08F #ACDD8F
monochromatic
#4938B9 #6E60CF #998FDD #C4BEEB #EAE8F8

Accessibility & contrast

On white

2.87
#998FDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#998FDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998FDD
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998FDD#FFFFFF#000000##000000
##998FDD1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#789AE0
Deuteranopia (green-blind)
#7897DB
Tritanopia (blue-blind)
#899DAC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #998fdd;
/* rgb */ color: rgb(153, 143, 221);
/* oklch */ color: oklch(69.0% 0.113 288.9);
Tailwind
colors: {
  custom: {
    50: '#b9afe8',
    500: '#998fdd',
    950: '#000000',
  },
}
SCSS
$custom: #998fdd;
$custom-light: #b9afe8;
$custom-dark: #000000;
JSON
{
  "hex": "#998fdd",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 221
  },
  "hsl": {
    "h": 247.692,
    "s": 53.425,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68956,
    "c": 0.11337,
    "h": 288.9
  },
  "luminance": 0.31638
}

Semantic roles & 50–950 ramp

primary
#998FDD
secondary
#EBEEDA
accent
#C125AD
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #998FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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