#8998F8#8998F8

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

Color values

HEX#8998F8
RGBrgb(137, 152, 248)
HSLhsl(232, 89%, 75%)
HSVhsv(232, 45%, 97%)
CMYKcmyk(44.8%, 38.7%, 0%, 2.7%)
CIE-LABlab(65.40, 19.05, -49.71)
CIE-LCHlch(65.40, 53.24, 290.96°)
OKLaboklab(70.88% 0.0135 -0.1403)
OKLCHoklch(70.88% 0.141 275.5)
XYZxyz(38.4828, 34.5501, 93.4298)
Luminance0.3455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8998F8 #F8E989
analogous
#89CFF8 #8998F8 #B189F8
triadic
#8998F8 #F88998 #98F889
tetradic
#8998F8 #F889CF #F8E989 #89F8B1
square
#8998F8 #F889CF #F8E989 #89F8B1
split-complementary
#8998F8 #F8B189 #CFF889
monochromatic
#1533F1 #4F66F5 #8998F8 #C3CAFB #E2E6FD

Accessibility & contrast

On white

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

On black

7.91
#8998F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8998F8
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8998F8#FFFFFF#000000##000000
##8998F81.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A3FC
Deuteranopia (green-blind)
#6B9BF6
Tritanopia (blue-blind)
#62ACBC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8998f8;
/* rgb */ color: rgb(137, 152, 248);
/* oklch */ color: oklch(70.9% 0.141 275.5);
Tailwind
colors: {
  custom: {
    50: '#b0b6fb',
    500: '#8998f8',
    950: '#000000',
  },
}
SCSS
$custom: #8998f8;
$custom-light: #b0b6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8998f8",
  "rgb": {
    "r": 137,
    "g": 152,
    "b": 248
  },
  "hsl": {
    "h": 231.892,
    "s": 88.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.70879,
    "c": 0.1409,
    "h": 275.5
  },
  "luminance": 0.34552
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8998F8

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

Preview Lab → · Contrast checker → · Palette generator →

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