#989BFB#989BFB

#989BFB is a light, vivid blue. Relative luminance 0.371; OKLCH L 72.7% C 0.138 H 281.0°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#989BFB
RGBrgb(152, 155, 251)
HSLhsl(238, 93%, 79%)
HSVhsv(238, 39%, 98%)
CMYKcmyk(39.4%, 38.2%, 0%, 1.6%)
CIE-LABlab(67.34, 21.86, -48.22)
CIE-LCHlch(67.34, 52.94, 294.38°)
OKLaboklab(72.68% 0.0264 -0.1356)
OKLCHoklch(72.68% 0.138 281)
XYZxyz(42.0778, 37.0814, 96.1884)
Luminance0.3708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989BFB #FBF898
analogous
#98CDFB #989BFB #C798FB
triadic
#989BFB #FB989B #9BFB98
tetradic
#989BFB #FB98CD #FBF898 #98FBC7
square
#989BFB #FB98CD #FBF898 #98FBC7
split-complementary
#989BFB #FBC798 #CDFB98
monochromatic
#2229F6 #5D62F9 #989BFB #D3D4FD #E2E2FE

Accessibility & contrast

On white

2.50
#989BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#989BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989BFB
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989BFB#FFFFFF#000000##000000
##989BFB1.002.508.428.42
#FFFFFF2.501.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA8FF
Deuteranopia (green-blind)
#75A1F9
Tritanopia (blue-blind)
#7BAEBF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #989bfb;
/* rgb */ color: rgb(152, 155, 251);
/* oklch */ color: oklch(72.7% 0.138 281.0);
Tailwind
colors: {
  custom: {
    50: '#bab8fd',
    500: '#989bfb',
    950: '#000000',
  },
}
SCSS
$custom: #989bfb;
$custom-light: #bab8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#989bfb",
  "rgb": {
    "r": 152,
    "g": 155,
    "b": 251
  },
  "hsl": {
    "h": 238.182,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.72677,
    "c": 0.13813,
    "h": 281
  },
  "luminance": 0.37083
}

Semantic roles & 50–950 ramp

primary
#989BFB
secondary
#F6F5D5
accent
#DF00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #989BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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