#8998F7#8998F7

#8998F7 is a light, vivid blue. Relative luminance 0.345; OKLCH L 70.8% C 0.140 H 275.5°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#8998F7
RGBrgb(137, 152, 247)
HSLhsl(232, 87%, 75%)
HSVhsv(232, 45%, 97%)
CMYKcmyk(44.5%, 38.5%, 0%, 3.1%)
CIE-LABlab(65.35, 18.76, -49.24)
CIE-LCHlch(65.35, 52.69, 290.86°)
OKLaboklab(70.83% 0.0133 -0.1389)
OKLCHoklch(70.83% 0.14 275.5)
XYZxyz(38.3281, 34.4882, 92.6150)
Luminance0.3449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8998F7 #F7E889
analogous
#89CFF7 #8998F7 #B189F7
triadic
#8998F7 #F78998 #98F789
tetradic
#8998F7 #F789CF #F7E889 #89F7B1
square
#8998F7 #F789CF #F7E889 #89F7B1
split-complementary
#8998F7 #F7B189 #CFF789
monochromatic
#1634EF #5066F3 #8998F7 #C2CAFB #E2E6FD

Accessibility & contrast

On white

2.66
#8998F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#8998F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8998F7
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8998F7#FFFFFF#000000##000000
##8998F71.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A3FB
Deuteranopia (green-blind)
#6C9AF5
Tritanopia (blue-blind)
#63ACBC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8998f7;
/* rgb */ color: rgb(137, 152, 247);
/* oklch */ color: oklch(70.8% 0.140 275.5);
Tailwind
colors: {
  custom: {
    50: '#b0b6fa',
    500: '#8998f7',
    950: '#000000',
  },
}
SCSS
$custom: #8998f7;
$custom-light: #b0b6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8998f7",
  "rgb": {
    "r": 137,
    "g": 152,
    "b": 247
  },
  "hsl": {
    "h": 231.818,
    "s": 87.302,
    "l": 75.294
  },
  "oklch": {
    "l": 0.70825,
    "c": 0.1395,
    "h": 275.5
  },
  "luminance": 0.3449
}

Semantic roles & 50–950 ramp

primary
#8998F7
secondary
#F5F1D6
accent
#C502E4
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8998F7

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

Preview Lab → · Contrast checker → · Palette generator →

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