#989DF7#989DF7

#989DF7 is a light, vivid blue. Relative luminance 0.375; OKLCH L 72.9% C 0.130 H 280.2°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#989DF7
RGBrgb(152, 157, 247)
HSLhsl(237, 86%, 78%)
HSVhsv(237, 38%, 97%)
CMYKcmyk(38.5%, 36.4%, 0%, 3.1%)
CIE-LABlab(67.65, 19.63, -45.54)
CIE-LCHlch(67.65, 49.59, 293.32°)
OKLaboklab(72.86% 0.0231 -0.1278)
OKLCHoklch(72.86% 0.13 280.2)
XYZxyz(41.7895, 37.5031, 93.0146)
Luminance0.3750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989DF7 #F7F298
analogous
#98CCF7 #989DF7 #C298F7
triadic
#989DF7 #F7989D #9DF798
tetradic
#989DF7 #F798CC #F7F298 #98F7C2
square
#989DF7 #F798CC #F7F298 #98F7C2
split-complementary
#989DF7 #F7C298 #CCF798
monochromatic
#2631EE #5F67F3 #989DF7 #D1D3FB #E3E4FD

Accessibility & contrast

On white

2.47
#989DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#989DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989DF7
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989DF7#FFFFFF#000000##000000
##989DF71.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA8FB
Deuteranopia (green-blind)
#7AA1F5
Tritanopia (blue-blind)
#7CAFBE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #989df7;
/* rgb */ color: rgb(152, 157, 247);
/* oklch */ color: oklch(72.9% 0.130 280.2);
Tailwind
colors: {
  custom: {
    50: '#b9b9fa',
    500: '#989df7',
    950: '#000000',
  },
}
SCSS
$custom: #989df7;
$custom-light: #b9b9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#989df7",
  "rgb": {
    "r": 152,
    "g": 157,
    "b": 247
  },
  "hsl": {
    "h": 236.842,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.72857,
    "c": 0.12985,
    "h": 280.2
  },
  "luminance": 0.37505
}

Semantic roles & 50–950 ramp

primary
#989DF7
secondary
#F5F3D6
accent
#D603E2
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #989DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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