#998CFE#998CFE

#998CFE is a light, vivid blue. Relative luminance 0.327; OKLCH L 70.1% C 0.163 H 286.6°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#998CFE
RGBrgb(153, 140, 254)
HSLhsl(247, 98%, 77%)
HSVhsv(247, 45%, 100%)
CMYKcmyk(39.8%, 44.9%, 0%, 0.4%)
CIE-LABlab(63.90, 31.53, -55.29)
CIE-LCHlch(63.90, 63.65, 299.69°)
OKLaboklab(70.13% 0.0466 -0.1562)
OKLCHoklch(70.13% 0.163 286.6)
XYZxyz(40.3993, 32.6828, 97.9265)
Luminance0.3268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998CFE #F1FE8C
analogous
#8CB8FE #998CFE #D28CFE
triadic
#998CFE #FE998C #8CFE99
tetradic
#998CFE #FE8CB8 #F1FE8C #8CFED2
square
#998CFE #FE8CB8 #F1FE8C #8CFED2
split-complementary
#998CFE #FED28C #B8FE8C
monochromatic
#2D13FD #634FFD #998CFE #CFC9FF #E4E1FF

Accessibility & contrast

On white

2.79
#998CFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#998CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998CFE
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998CFE#FFFFFF#000000##000000
##998CFE1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#629EFF
Deuteranopia (green-blind)
#6098FB
Tritanopia (blue-blind)
#7CA3B9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #998cfe;
/* rgb */ color: rgb(153, 140, 254);
/* oklch */ color: oklch(70.1% 0.163 286.6);
Tailwind
colors: {
  custom: {
    50: '#bbadff',
    500: '#998cfe',
    950: '#000000',
  },
}
SCSS
$custom: #998cfe;
$custom-light: #bbadff;
$custom-dark: #000000;
JSON
{
  "hex": "#998cfe",
  "rgb": {
    "r": 153,
    "g": 140,
    "b": 254
  },
  "hsl": {
    "h": 246.842,
    "s": 98.276,
    "l": 77.255
  },
  "oklch": {
    "l": 0.70132,
    "c": 0.16304,
    "h": 286.6
  },
  "luminance": 0.32684
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #998CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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