#998FDB#998FDB

#998FDB is a light, moderate blue. Relative luminance 0.315; OKLCH L 68.9% C 0.111 H 289.2°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#998FDB
RGBrgb(153, 143, 219)
HSLhsl(248, 51%, 71%)
HSVhsv(248, 35%, 86%)
CMYKcmyk(30.1%, 34.7%, 0%, 14.1%)
CIE-LABlab(62.95, 20.58, -37.47)
CIE-LCHlch(62.95, 42.75, 298.78°)
OKLaboklab(68.86% 0.0363 -0.1044)
OKLCHoklch(68.86% 0.111 289.2)
XYZxyz(35.7422, 31.5309, 71.2070)
Luminance0.3153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998FDB #D1DB8F
analogous
#8FABDB #998FDB #BF8FDB
triadic
#998FDB #DB998F #8FDB99
tetradic
#998FDB #DB8FAB #D1DB8F #8FDBBF
square
#998FDB #DB8FAB #D1DB8F #8FDBBF
split-complementary
#998FDB #DBBF8F #ABDB8F
monochromatic
#4A3AB5 #6F61CC #998FDB #C3BDEA #EAE8F8

Accessibility & contrast

On white

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

On black

7.31
#998FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998FDB
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998FDB#FFFFFF#000000##000000
##998FDB1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#799ADE
Deuteranopia (green-blind)
#7997D9
Tritanopia (blue-blind)
#8A9DAB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #998fdb;
/* rgb */ color: rgb(153, 143, 219);
/* oklch */ color: oklch(68.9% 0.111 289.2);
Tailwind
colors: {
  custom: {
    50: '#b9afe6',
    500: '#998fdb',
    950: '#000000',
  },
}
SCSS
$custom: #998fdb;
$custom-light: #b9afe6;
$custom-dark: #000000;
JSON
{
  "hex": "#998fdb",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 219
  },
  "hsl": {
    "h": 247.895,
    "s": 51.351,
    "l": 70.98
  },
  "oklch": {
    "l": 0.68859,
    "c": 0.11056,
    "h": 289.2
  },
  "luminance": 0.31532
}

Semantic roles & 50–950 ramp

primary
#998FDB
secondary
#EAEDD9
accent
#BF27AB
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #998FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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