#998AED#998AED

#998AED is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.8% C 0.143 H 289.0°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#998AED
RGBrgb(153, 138, 237)
HSLhsl(249, 73%, 74%)
HSVhsv(249, 42%, 93%)
CMYKcmyk(35.4%, 41.8%, 0%, 7.1%)
CIE-LABlab(62.56, 28.12, -48.07)
CIE-LCHlch(62.56, 55.69, 300.33°)
OKLaboklab(68.84% 0.0466 -0.1352)
OKLCHoklch(68.84% 0.143 289)
XYZxyz(37.5073, 31.0627, 84.1239)
Luminance0.3106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998AED #DEED8A
analogous
#8AACED #998AED #CA8AED
triadic
#998AED #ED998A #8AED99
tetradic
#998AED #ED8AAC #DEED8A #8AEDCA
square
#998AED #ED8AAC #DEED8A #8AEDCA
split-complementary
#998AED #EDCA8A #ACED8A
monochromatic
#3E22DB #6B55E5 #998AED #C7BFF5 #E8E4FB

Accessibility & contrast

On white

2.91
#998AED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#998AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998AED
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998AED#FFFFFF#000000##000000
##998AED1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F1
Deuteranopia (green-blind)
#6995EB
Tritanopia (blue-blind)
#849DB0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #998aed;
/* rgb */ color: rgb(153, 138, 237);
/* oklch */ color: oklch(68.8% 0.143 289.0);
Tailwind
colors: {
  custom: {
    50: '#baacf3',
    500: '#998aed',
    950: '#000000',
  },
}
SCSS
$custom: #998aed;
$custom-light: #baacf3;
$custom-dark: #000000;
JSON
{
  "hex": "#998aed",
  "rgb": {
    "r": 153,
    "g": 138,
    "b": 237
  },
  "hsl": {
    "h": 249.091,
    "s": 73.333,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68835,
    "c": 0.14297,
    "h": 289
  },
  "luminance": 0.31064
}

Semantic roles & 50–950 ramp

primary
#998AED
secondary
#EFF3D8
accent
#D510B8
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #998AED

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

Preview Lab → · Contrast checker → · Palette generator →

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