#998DFD#998DFD

#998DFD is a light, vivid blue. Relative luminance 0.329; OKLCH L 70.3% C 0.160 H 286.4°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#998DFD
RGBrgb(153, 141, 253)
HSLhsl(246, 97%, 77%)
HSVhsv(246, 44%, 99%)
CMYKcmyk(39.5%, 44.3%, 0%, 0.8%)
CIE-LABlab(64.09, 30.68, -54.44)
CIE-LCHlch(64.09, 62.49, 299.40°)
OKLaboklab(70.26% 0.0453 -0.1538)
OKLCHoklch(70.26% 0.16 286.4)
XYZxyz(40.3864, 32.9125, 97.1343)
Luminance0.3291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998DFD #F1FD8D
analogous
#8DB9FD #998DFD #D18DFD
triadic
#998DFD #FD998D #8DFD99
tetradic
#998DFD #FD8DB9 #F1FD8D #8DFDD1
square
#998DFD #FD8DB9 #F1FD8D #8DFDD1
split-complementary
#998DFD #FDD18D #B9FD8D
monochromatic
#2D15FB #6351FC #998DFD #CFC9FE #E4E1FE

Accessibility & contrast

On white

2.77
#998DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#998DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998DFD
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998DFD#FFFFFF#000000##000000
##998DFD1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#6298FA
Tritanopia (blue-blind)
#7DA3B9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #998dfd;
/* rgb */ color: rgb(153, 141, 253);
/* oklch */ color: oklch(70.3% 0.160 286.4);
Tailwind
colors: {
  custom: {
    50: '#bbaefe',
    500: '#998dfd',
    950: '#000000',
  },
}
SCSS
$custom: #998dfd;
$custom-light: #bbaefe;
$custom-dark: #000000;
JSON
{
  "hex": "#998dfd",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 246.429,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.70256,
    "c": 0.16029,
    "h": 286.4
  },
  "luminance": 0.32914
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #998DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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