#998DFE#998DFE

#998DFE is a light, vivid blue. Relative luminance 0.330; OKLCH L 70.3% C 0.162 H 286.3°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#998DFE
RGBrgb(153, 141, 254)
HSLhsl(246, 98%, 77%)
HSVhsv(246, 44%, 100%)
CMYKcmyk(39.8%, 44.5%, 0%, 0.4%)
CIE-LABlab(64.14, 30.95, -54.91)
CIE-LCHlch(64.14, 63.03, 299.41°)
OKLaboklab(70.31% 0.0454 -0.1551)
OKLCHoklch(70.31% 0.162 286.3)
XYZxyz(40.5461, 32.9764, 97.9755)
Luminance0.3298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998DFE #F2FE8D
analogous
#8DB9FE #998DFE #D28DFE
triadic
#998DFE #FE998D #8DFE99
tetradic
#998DFE #FE8DB9 #F2FE8D #8DFED2
square
#998DFE #FE8DB9 #F2FE8D #8DFED2
split-complementary
#998DFE #FED28D #B9FE8D
monochromatic
#2C14FD #6350FD #998DFE #CFCAFF #E4E1FF

Accessibility & contrast

On white

2.76
#998DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#998DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998DFE
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998DFE#FFFFFF#000000##000000
##998DFE1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#639EFF
Deuteranopia (green-blind)
#6198FB
Tritanopia (blue-blind)
#7CA4B9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #998dfe;
/* rgb */ color: rgb(153, 141, 254);
/* oklch */ color: oklch(70.3% 0.162 286.3);
Tailwind
colors: {
  custom: {
    50: '#bbaeff',
    500: '#998dfe',
    950: '#000000',
  },
}
SCSS
$custom: #998dfe;
$custom-light: #bbaeff;
$custom-dark: #000000;
JSON
{
  "hex": "#998dfe",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 254
  },
  "hsl": {
    "h": 246.372,
    "s": 98.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.70312,
    "c": 0.16163,
    "h": 286.3
  },
  "luminance": 0.32978
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #998DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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