#998BF8#998BF8

#998BF8 is a light, vivid blue. Relative luminance 0.320; OKLCH L 69.6% C 0.156 H 287.5°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#998BF8
RGBrgb(153, 139, 248)
HSLhsl(248, 89%, 76%)
HSVhsv(248, 44%, 97%)
CMYKcmyk(38.3%, 44%, 0%, 2.7%)
CIE-LABlab(63.35, 30.48, -52.87)
CIE-LCHlch(63.35, 61.03, 299.96°)
OKLaboklab(69.62% 0.0471 -0.1492)
OKLCHoklch(69.62% 0.156 287.5)
XYZxyz(39.3081, 32.0136, 92.8969)
Luminance0.3201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998BF8 #EAF88B
analogous
#8BB3F8 #998BF8 #CF8BF8
triadic
#998BF8 #F8998B #8BF899
tetradic
#998BF8 #F88BB3 #EAF88B #8BF8CF
square
#998BF8 #F88BB3 #EAF88B #8BF8CF
split-complementary
#998BF8 #F8CF8B #B3F88B
monochromatic
#3318F1 #6651F5 #998BF8 #CCC5FB #E6E2FD

Accessibility & contrast

On white

2.84
#998BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#998BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998BF8
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998BF8#FFFFFF#000000##000000
##998BF81.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFC
Deuteranopia (green-blind)
#6397F5
Tritanopia (blue-blind)
#7FA0B6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #998bf8;
/* rgb */ color: rgb(153, 139, 248);
/* oklch */ color: oklch(69.6% 0.156 287.5);
Tailwind
colors: {
  custom: {
    50: '#bbadfb',
    500: '#998bf8',
    950: '#000000',
  },
}
SCSS
$custom: #998bf8;
$custom-light: #bbadfb;
$custom-dark: #000000;
JSON
{
  "hex": "#998bf8",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 247.706,
    "s": 88.618,
    "l": 75.882
  },
  "oklch": {
    "l": 0.69616,
    "c": 0.15641,
    "h": 287.5
  },
  "luminance": 0.32015
}

Semantic roles & 50–950 ramp

primary
#998BF8
secondary
#F1F5D6
accent
#E500C8
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #998BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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