#998FFE#998FFE

#998FFE is a light, vivid blue. Relative luminance 0.336; OKLCH L 70.7% C 0.159 H 285.7°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#998FFE
RGBrgb(153, 143, 254)
HSLhsl(245, 98%, 78%)
HSVhsv(245, 44%, 100%)
CMYKcmyk(39.8%, 43.7%, 0%, 0.4%)
CIE-LABlab(64.62, 29.81, -54.15)
CIE-LCHlch(64.62, 61.81, 298.83°)
OKLaboklab(70.68% 0.0429 -0.1529)
OKLCHoklch(70.68% 0.159 285.7)
XYZxyz(40.8437, 33.5715, 98.0746)
Luminance0.3357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998FFE #F4FE8F
analogous
#8FBDFE #998FFE #D08FFE
triadic
#998FFE #FE998F #8FFE99
tetradic
#998FFE #FE8FBD #F4FE8F #8FFED0
square
#998FFE #FE8FBD #F4FE8F #8FFED0
split-complementary
#998FFE #FED08F #BDFE8F
monochromatic
#2B16FD #6252FD #998FFE #D0CCFF #E3E1FF

Accessibility & contrast

On white

2.72
#998FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#998FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998FFE
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998FFE#FFFFFF#000000##000000
##998FFE1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#67A0FF
Deuteranopia (green-blind)
#649AFB
Tritanopia (blue-blind)
#7CA5BA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #998ffe;
/* rgb */ color: rgb(153, 143, 254);
/* oklch */ color: oklch(70.7% 0.159 285.7);
Tailwind
colors: {
  custom: {
    50: '#bbafff',
    500: '#998ffe',
    950: '#000000',
  },
}
SCSS
$custom: #998ffe;
$custom-light: #bbafff;
$custom-dark: #000000;
JSON
{
  "hex": "#998ffe",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 254
  },
  "hsl": {
    "h": 245.405,
    "s": 98.23,
    "l": 77.843
  },
  "oklch": {
    "l": 0.70675,
    "c": 0.15881,
    "h": 285.7
  },
  "luminance": 0.33573
}

Semantic roles & 50–950 ramp

primary
#998FFE
secondary
#F4F7D4
accent
#E600D1
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #998FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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