#998BF1#998BF1

#998BF1 is a light, vivid blue. Relative luminance 0.316; OKLCH L 69.2% C 0.147 H 288.2°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#998BF1
RGBrgb(153, 139, 241)
HSLhsl(248, 78%, 75%)
HSVhsv(248, 42%, 95%)
CMYKcmyk(36.5%, 42.3%, 0%, 5.5%)
CIE-LABlab(63.00, 28.61, -49.58)
CIE-LCHlch(63.00, 57.24, 299.98°)
OKLaboklab(69.23% 0.046 -0.1396)
OKLCHoklch(69.23% 0.147 288.2)
XYZxyz(38.2424, 31.5873, 87.2841)
Luminance0.3159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998BF1 #E3F18B
analogous
#8BB0F1 #998BF1 #CC8BF1
triadic
#998BF1 #F1998B #8BF199
tetradic
#998BF1 #F18BB0 #E3F18B #8BF1CC
square
#998BF1 #F18BB0 #E3F18B #8BF1CC
split-complementary
#998BF1 #F1CC8B #B0F18B
monochromatic
#391EE4 #6954EA #998BF1 #C9C2F8 #E7E4FC

Accessibility & contrast

On white

2.87
#998BF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#998BF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998BF1
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998BF1#FFFFFF#000000##000000
##998BF11.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#699BF5
Deuteranopia (green-blind)
#6896EF
Tritanopia (blue-blind)
#829FB2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #998bf1;
/* rgb */ color: rgb(153, 139, 241);
/* oklch */ color: oklch(69.2% 0.147 288.2);
Tailwind
colors: {
  custom: {
    50: '#baadf6',
    500: '#998bf1',
    950: '#000000',
  },
}
SCSS
$custom: #998bf1;
$custom-light: #baadf6;
$custom-dark: #000000;
JSON
{
  "hex": "#998bf1",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 241
  },
  "hsl": {
    "h": 248.235,
    "s": 78.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.69233,
    "c": 0.14694,
    "h": 288.2
  },
  "luminance": 0.31588
}

Semantic roles & 50–950 ramp

primary
#998BF1
secondary
#F0F4D7
accent
#DB0BBE
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#121017
muted
#817F85

Preview Lab

Preview with #998BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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