#998FFB#998FFB

#998FFB is a light, vivid blue. Relative luminance 0.334; OKLCH L 70.5% C 0.155 H 285.9°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#998FFB
RGBrgb(153, 143, 251)
HSLhsl(246, 93%, 77%)
HSVhsv(246, 43%, 98%)
CMYKcmyk(39%, 43%, 0%, 1.6%)
CIE-LABlab(64.47, 28.99, -52.75)
CIE-LCHlch(64.47, 60.19, 298.79°)
OKLaboklab(70.51% 0.0425 -0.1488)
OKLCHoklch(70.51% 0.155 285.9)
XYZxyz(40.3670, 33.3809, 95.5643)
Luminance0.3338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998FFB #F1FB8F
analogous
#8FBBFB #998FFB #CF8FFB
triadic
#998FFB #FB998F #8FFB99
tetradic
#998FFB #FB8FBB #F1FB8F #8FFBCF
square
#998FFB #FB8FBB #F1FB8F #8FFBCF
split-complementary
#998FFB #FBCF8F #BBFB8F
monochromatic
#2D19F7 #6354F9 #998FFB #CFCAFD #E4E1FE

Accessibility & contrast

On white

2.74
#998FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#998FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998FFB
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998FFB#FFFFFF#000000##000000
##998FFB1.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#699FFF
Deuteranopia (green-blind)
#6699F8
Tritanopia (blue-blind)
#7DA4B9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #998ffb;
/* rgb */ color: rgb(153, 143, 251);
/* oklch */ color: oklch(70.5% 0.155 285.9);
Tailwind
colors: {
  custom: {
    50: '#bbaffd',
    500: '#998ffb',
    950: '#000000',
  },
}
SCSS
$custom: #998ffb;
$custom-light: #bbaffd;
$custom-dark: #000000;
JSON
{
  "hex": "#998ffb",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 251
  },
  "hsl": {
    "h": 245.556,
    "s": 93.103,
    "l": 77.255
  },
  "oklch": {
    "l": 0.70509,
    "c": 0.15475,
    "h": 285.9
  },
  "luminance": 0.33382
}

Semantic roles & 50–950 ramp

primary
#998FFB
secondary
#F3F6D5
accent
#E600D0
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #998FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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