#998BFB#998BFB

#998BFB is a light, vivid blue. Relative luminance 0.322; OKLCH L 69.8% C 0.160 H 287.2°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#998BFB
RGBrgb(153, 139, 251)
HSLhsl(248, 93%, 76%)
HSVhsv(248, 45%, 98%)
CMYKcmyk(39%, 44.6%, 0%, 1.6%)
CIE-LABlab(63.51, 31.29, -54.27)
CIE-LCHlch(63.51, 62.64, 299.96°)
OKLaboklab(69.78% 0.0475 -0.1533)
OKLCHoklch(69.78% 0.16 287.2)
XYZxyz(39.7772, 32.2013, 95.3677)
Luminance0.3220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998BFB #EDFB8B
analogous
#8BB5FB #998BFB #D18BFB
triadic
#998BFB #FB998B #8BFB99
tetradic
#998BFB #FB8BB5 #EDFB8B #8BFBD1
square
#998BFB #FB8BB5 #EDFB8B #8BFBD1
split-complementary
#998BFB #FBD18B #B5FB8B
monochromatic
#3115F7 #6550F9 #998BFB #CDC6FD #E5E1FE

Accessibility & contrast

On white

2.82
#998BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#998BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998BFB
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998BFB#FFFFFF#000000##000000
##998BFB1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#6197F8
Tritanopia (blue-blind)
#7EA1B7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #998bfb;
/* rgb */ color: rgb(153, 139, 251);
/* oklch */ color: oklch(69.8% 0.160 287.2);
Tailwind
colors: {
  custom: {
    50: '#bbadfd',
    500: '#998bfb',
    950: '#000000',
  },
}
SCSS
$custom: #998bfb;
$custom-light: #bbadfd;
$custom-dark: #000000;
JSON
{
  "hex": "#998bfb",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 247.5,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.69783,
    "c": 0.16044,
    "h": 287.2
  },
  "luminance": 0.32203
}

Semantic roles & 50–950 ramp

primary
#998BFB
secondary
#F2F6D5
accent
#E600C9
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #998BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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