#998CDB#998CDB

#998CDB is a light, moderate blue. Relative luminance 0.306; OKLCH L 68.3% C 0.115 H 290.6°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#998CDB
RGBrgb(153, 140, 219)
HSLhsl(250, 52%, 70%)
HSVhsv(250, 36%, 86%)
CMYKcmyk(30.1%, 36.1%, 0%, 14.1%)
CIE-LABlab(62.20, 22.31, -38.64)
CIE-LCHlch(62.20, 44.62, 300.00°)
OKLaboklab(68.29% 0.0404 -0.1078)
OKLCHoklch(68.29% 0.115 290.6)
XYZxyz(35.2979, 30.6422, 71.0589)
Luminance0.3064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998CDB #CEDB8C
analogous
#8CA7DB #998CDB #C08CDB
triadic
#998CDB #DB998C #8CDB99
tetradic
#998CDB #DB8CA7 #CEDB8C #8CDBC0
square
#998CDB #DB8CA7 #CEDB8C #8CDBC0
split-complementary
#998CDB #DBC08C #A7DB8C
monochromatic
#4D38B4 #705DCC #998CDB #C2BBEA #EAE8F8

Accessibility & contrast

On white

2.95
#998CDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#998CDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998CDB
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998CDB#FFFFFF#000000##000000
##998CDB1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7598DE
Deuteranopia (green-blind)
#7695D9
Tritanopia (blue-blind)
#8A9AA9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #998cdb;
/* rgb */ color: rgb(153, 140, 219);
/* oklch */ color: oklch(68.3% 0.115 290.6);
Tailwind
colors: {
  custom: {
    50: '#b9ade6',
    500: '#998cdb',
    950: '#000000',
  },
}
SCSS
$custom: #998cdb;
$custom-light: #b9ade6;
$custom-dark: #000000;
JSON
{
  "hex": "#998cdb",
  "rgb": {
    "r": 153,
    "g": 140,
    "b": 219
  },
  "hsl": {
    "h": 249.873,
    "s": 52.318,
    "l": 70.392
  },
  "oklch": {
    "l": 0.68286,
    "c": 0.11514,
    "h": 290.6
  },
  "luminance": 0.30643
}

Semantic roles & 50–950 ramp

primary
#998CDB
secondary
#E9ECD7
accent
#C026A6
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #998CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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