#998EFD#998EFD

#998EFD is a light, vivid blue. Relative luminance 0.332; OKLCH L 70.4% C 0.159 H 286.1°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#998EFD
RGBrgb(153, 142, 253)
HSLhsl(246, 97%, 77%)
HSVhsv(246, 44%, 99%)
CMYKcmyk(39.5%, 43.9%, 0%, 0.8%)
CIE-LABlab(64.33, 30.11, -54.06)
CIE-LCHlch(64.33, 61.88, 299.11°)
OKLaboklab(70.44% 0.044 -0.1526)
OKLCHoklch(70.44% 0.159 286.1)
XYZxyz(40.5345, 33.2087, 97.1837)
Luminance0.3321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998EFD #F2FD8E
analogous
#8EBAFD #998EFD #D18EFD
triadic
#998EFD #FD998E #8EFD99
tetradic
#998EFD #FD8EBA #F2FD8E #8EFDD1
square
#998EFD #FD8EBA #F2FD8E #8EFDD1
split-complementary
#998EFD #FDD18E #BAFD8E
monochromatic
#2C16FB #6352FC #998EFD #CFCAFE #E4E1FE

Accessibility & contrast

On white

2.75
#998EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#998EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998EFD
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998EFD#FFFFFF#000000##000000
##998EFD1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#669FFF
Deuteranopia (green-blind)
#6399FA
Tritanopia (blue-blind)
#7DA4B9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #998efd;
/* rgb */ color: rgb(153, 142, 253);
/* oklch */ color: oklch(70.4% 0.159 286.1);
Tailwind
colors: {
  custom: {
    50: '#bbaffe',
    500: '#998efd',
    950: '#000000',
  },
}
SCSS
$custom: #998efd;
$custom-light: #bbaffe;
$custom-dark: #000000;
JSON
{
  "hex": "#998efd",
  "rgb": {
    "r": 153,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 245.946,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.70438,
    "c": 0.15887,
    "h": 286.1
  },
  "luminance": 0.3321
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #998EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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