#8998F9#8998F9

#8998F9 is a light, vivid blue. Relative luminance 0.346; OKLCH L 70.9% C 0.142 H 275.5°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#8998F9
RGBrgb(137, 152, 249)
HSLhsl(232, 90%, 76%)
HSVhsv(232, 45%, 98%)
CMYKcmyk(45%, 39%, 0%, 2.4%)
CIE-LABlab(65.45, 19.33, -50.18)
CIE-LCHlch(65.45, 53.78, 291.07°)
OKLaboklab(70.93% 0.0137 -0.1416)
OKLCHoklch(70.93% 0.142 275.5)
XYZxyz(38.6384, 34.6123, 94.2491)
Luminance0.3461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8998F9 #F9EA89
analogous
#89D0F9 #8998F9 #B289F9
triadic
#8998F9 #F98998 #98F989
tetradic
#8998F9 #F989D0 #F9EA89 #89F9B2
square
#8998F9 #F989D0 #F9EA89 #89F9B2
split-complementary
#8998F9 #F9B289 #D0F989
monochromatic
#1532F3 #4F65F6 #8998F9 #C3CBFC #E2E6FE

Accessibility & contrast

On white

2.65
#8998F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#8998F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8998F9
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8998F9#FFFFFF#000000##000000
##8998F91.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A4FD
Deuteranopia (green-blind)
#6B9BF7
Tritanopia (blue-blind)
#61ACBD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8998f9;
/* rgb */ color: rgb(137, 152, 249);
/* oklch */ color: oklch(70.9% 0.142 275.5);
Tailwind
colors: {
  custom: {
    50: '#b0b6fc',
    500: '#8998f9',
    950: '#000000',
  },
}
SCSS
$custom: #8998f9;
$custom-light: #b0b6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8998f9",
  "rgb": {
    "r": 137,
    "g": 152,
    "b": 249
  },
  "hsl": {
    "h": 231.964,
    "s": 90.323,
    "l": 75.686
  },
  "oklch": {
    "l": 0.70932,
    "c": 0.14228,
    "h": 275.5
  },
  "luminance": 0.34614
}

Semantic roles & 50–950 ramp

primary
#8998F9
secondary
#F6F1D5
accent
#C700E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8998F9

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

Preview Lab → · Contrast checker → · Palette generator →

#8998F9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva