#998CF9#998CF9

#998CF9 is a light, vivid blue. Relative luminance 0.324; OKLCH L 69.9% C 0.156 H 287.1°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#998CF9
RGBrgb(153, 140, 249)
HSLhsl(247, 90%, 76%)
HSVhsv(247, 44%, 98%)
CMYKcmyk(38.6%, 43.8%, 0%, 2.4%)
CIE-LABlab(63.64, 30.17, -52.96)
CIE-LCHlch(63.64, 60.95, 299.67°)
OKLaboklab(69.85% 0.0459 -0.1494)
OKLCHoklch(69.85% 0.156 287.1)
XYZxyz(39.6091, 32.3667, 93.7646)
Luminance0.3237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998CF9 #ECF98C
analogous
#8CB6F9 #998CF9 #D08CF9
triadic
#998CF9 #F9998C #8CF999
tetradic
#998CF9 #F98CB6 #ECF98C #8CF9D0
square
#998CF9 #F98CB6 #ECF98C #8CF9D0
split-complementary
#998CF9 #F9D08C #B6F98C
monochromatic
#3218F3 #6552F6 #998CF9 #CDC6FC #E5E2FD

Accessibility & contrast

On white

2.81
#998CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#998CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998CF9
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998CF9#FFFFFF#000000##000000
##998CF91.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFD
Deuteranopia (green-blind)
#6497F6
Tritanopia (blue-blind)
#7FA2B7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #998cf9;
/* rgb */ color: rgb(153, 140, 249);
/* oklch */ color: oklch(69.9% 0.156 287.1);
Tailwind
colors: {
  custom: {
    50: '#bbadfc',
    500: '#998cf9',
    950: '#000000',
  },
}
SCSS
$custom: #998cf9;
$custom-light: #bbadfc;
$custom-dark: #000000;
JSON
{
  "hex": "#998cf9",
  "rgb": {
    "r": 153,
    "g": 140,
    "b": 249
  },
  "hsl": {
    "h": 247.156,
    "s": 90.083,
    "l": 76.275
  },
  "oklch": {
    "l": 0.69853,
    "c": 0.15632,
    "h": 287.1
  },
  "luminance": 0.32368
}

Semantic roles & 50–950 ramp

primary
#998CF9
secondary
#F2F6D5
accent
#E600CA
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #998CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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