#998BFE#998BFE

#998BFE is a light, vivid blue. Relative luminance 0.324; OKLCH L 70.0% C 0.164 H 286.9°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#998BFE
RGBrgb(153, 139, 254)
HSLhsl(247, 98%, 77%)
HSVhsv(247, 45%, 100%)
CMYKcmyk(39.8%, 45.3%, 0%, 0.4%)
CIE-LABlab(63.67, 32.10, -55.67)
CIE-LCHlch(63.67, 64.26, 299.97°)
OKLaboklab(69.95% 0.0479 -0.1573)
OKLCHoklch(69.95% 0.164 286.9)
XYZxyz(40.2539, 32.3919, 97.8780)
Luminance0.3239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998BFE #F0FE8B
analogous
#8BB7FE #998BFE #D28BFE
triadic
#998BFE #FE998B #8BFE99
tetradic
#998BFE #FE8BB7 #F0FE8B #8BFED2
square
#998BFE #FE8BB7 #F0FE8B #8BFED2
split-complementary
#998BFE #FED28B #B7FE8B
monochromatic
#2E12FD #644EFD #998BFE #CEC8FF #E4E1FF

Accessibility & contrast

On white

2.81
#998BFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#998BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998BFE
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998BFE#FFFFFF#000000##000000
##998BFE1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#609DFF
Deuteranopia (green-blind)
#5F97FB
Tritanopia (blue-blind)
#7CA2B8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #998bfe;
/* rgb */ color: rgb(153, 139, 254);
/* oklch */ color: oklch(70.0% 0.164 286.9);
Tailwind
colors: {
  custom: {
    50: '#bbadff',
    500: '#998bfe',
    950: '#000000',
  },
}
SCSS
$custom: #998bfe;
$custom-light: #bbadff;
$custom-dark: #000000;
JSON
{
  "hex": "#998bfe",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 254
  },
  "hsl": {
    "h": 247.304,
    "s": 98.291,
    "l": 77.059
  },
  "oklch": {
    "l": 0.69953,
    "c": 0.16446,
    "h": 286.9
  },
  "luminance": 0.32393
}

Semantic roles & 50–950 ramp

primary
#998BFE
secondary
#F3F7D4
accent
#E600CA
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #998BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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