#998BF4#998BF4

#998BF4 is a light, vivid blue. Relative luminance 0.318; OKLCH L 69.4% C 0.151 H 287.9°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#998BF4
RGBrgb(153, 139, 244)
HSLhsl(248, 83%, 75%)
HSVhsv(248, 43%, 96%)
CMYKcmyk(37.3%, 43%, 0%, 4.3%)
CIE-LABlab(63.15, 29.40, -51.00)
CIE-LCHlch(63.15, 58.87, 299.97°)
OKLaboklab(69.4% 0.0465 -0.1437)
OKLCHoklch(69.4% 0.151 287.9)
XYZxyz(38.6941, 31.7680, 89.6635)
Luminance0.3177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998BF4 #E6F48B
analogous
#8BB1F4 #998BF4 #CD8BF4
triadic
#998BF4 #F4998B #8BF499
tetradic
#998BF4 #F48BB1 #E6F48B #8BF4CD
square
#998BF4 #F48BB1 #E6F48B #8BF4CD
split-complementary
#998BF4 #F4CD8B #B1F48B
monochromatic
#371BE9 #6853EF #998BF4 #CAC3F9 #E6E3FC

Accessibility & contrast

On white

2.86
#998BF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#998BF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998BF4
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998BF4#FFFFFF#000000##000000
##998BF41.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#679BF8
Deuteranopia (green-blind)
#6696F2
Tritanopia (blue-blind)
#819FB4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #998bf4;
/* rgb */ color: rgb(153, 139, 244);
/* oklch */ color: oklch(69.4% 0.151 287.9);
Tailwind
colors: {
  custom: {
    50: '#baadf8',
    500: '#998bf4',
    950: '#000000',
  },
}
SCSS
$custom: #998bf4;
$custom-light: #baadf8;
$custom-dark: #000000;
JSON
{
  "hex": "#998bf4",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 244
  },
  "hsl": {
    "h": 248,
    "s": 82.677,
    "l": 75.098
  },
  "oklch": {
    "l": 0.69396,
    "c": 0.15101,
    "h": 287.9
  },
  "luminance": 0.31769
}

Semantic roles & 50–950 ramp

primary
#998BF4
secondary
#F0F4D7
accent
#DF06C2
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #998BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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