#998EDD#998EDD

#998EDD is a light, moderate blue. Relative luminance 0.313; OKLCH L 68.8% C 0.115 H 289.4°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#998EDD
RGBrgb(153, 142, 221)
HSLhsl(248, 54%, 71%)
HSVhsv(248, 36%, 87%)
CMYKcmyk(30.8%, 35.7%, 0%, 13.3%)
CIE-LABlab(62.79, 21.67, -38.84)
CIE-LCHlch(62.79, 44.47, 299.15°)
OKLaboklab(68.77% 0.0382 -0.1084)
OKLCHoklch(68.77% 0.115 289.4)
XYZxyz(35.8576, 31.3380, 72.5522)
Luminance0.3134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998EDD #D2DD8E
analogous
#8EAADD #998EDD #C08EDD
triadic
#998EDD #DD998E #8EDD99
tetradic
#998EDD #DD8EAA #D2DD8E #8EDDC0
square
#998EDD #DD8EAA #D2DD8E #8EDDC0
split-complementary
#998EDD #DDC08E #AADD8E
monochromatic
#4A38B9 #6F5FCF #998EDD #C3BDEB #EAE7F8

Accessibility & contrast

On white

2.89
#998EDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#998EDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998EDD
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998EDD#FFFFFF#000000##000000
##998EDD1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#779AE0
Deuteranopia (green-blind)
#7796DB
Tritanopia (blue-blind)
#899CAB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #998edd;
/* rgb */ color: rgb(153, 142, 221);
/* oklch */ color: oklch(68.8% 0.115 289.4);
Tailwind
colors: {
  custom: {
    50: '#b9afe8',
    500: '#998edd',
    950: '#000000',
  },
}
SCSS
$custom: #998edd;
$custom-light: #b9afe8;
$custom-dark: #000000;
JSON
{
  "hex": "#998edd",
  "rgb": {
    "r": 153,
    "g": 142,
    "b": 221
  },
  "hsl": {
    "h": 248.354,
    "s": 53.741,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68765,
    "c": 0.11488,
    "h": 289.4
  },
  "luminance": 0.31339
}

Semantic roles & 50–950 ramp

primary
#998EDD
secondary
#EBEED9
accent
#C124AB
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #998EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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