#989CF8#989CF8

#989CF8 is a light, vivid blue. Relative luminance 0.372; OKLCH L 72.7% C 0.133 H 280.7°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#989CF8
RGBrgb(152, 156, 248)
HSLhsl(238, 87%, 78%)
HSVhsv(238, 39%, 97%)
CMYKcmyk(38.7%, 37.1%, 0%, 2.7%)
CIE-LABlab(67.45, 20.47, -46.41)
CIE-LCHlch(67.45, 50.72, 293.80°)
OKLaboklab(72.72% 0.0245 -0.1303)
OKLCHoklch(72.72% 0.133 280.7)
XYZxyz(41.7757, 37.2280, 93.7733)
Luminance0.3723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989CF8 #F8F498
analogous
#98CCF8 #989CF8 #C498F8
triadic
#989CF8 #F8989C #9CF898
tetradic
#989CF8 #F898CC #F8F498 #98F8C4
square
#989CF8 #F898CC #F8F498 #98F8C4
split-complementary
#989CF8 #F8C498 #CCF898
monochromatic
#252EF0 #5F65F4 #989CF8 #D1D3FC #E2E3FD

Accessibility & contrast

On white

2.49
#989CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#989CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989CF8
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989CF8#FFFFFF#000000##000000
##989CF81.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA8FC
Deuteranopia (green-blind)
#78A1F6
Tritanopia (blue-blind)
#7CAEBE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #989cf8;
/* rgb */ color: rgb(152, 156, 248);
/* oklch */ color: oklch(72.7% 0.133 280.7);
Tailwind
colors: {
  custom: {
    50: '#bab9fb',
    500: '#989cf8',
    950: '#000000',
  },
}
SCSS
$custom: #989cf8;
$custom-light: #bab9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#989cf8",
  "rgb": {
    "r": 152,
    "g": 156,
    "b": 248
  },
  "hsl": {
    "h": 237.5,
    "s": 87.273,
    "l": 78.431
  },
  "oklch": {
    "l": 0.72715,
    "c": 0.1326,
    "h": 280.7
  },
  "luminance": 0.3723
}

Semantic roles & 50–950 ramp

primary
#989CF8
secondary
#F5F4D6
accent
#DA02E4
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #989CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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