#989EF7#989EF7

#989EF7 is a light, vivid blue. Relative luminance 0.378; OKLCH L 73.1% C 0.129 H 279.8°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#989EF7
RGBrgb(152, 158, 247)
HSLhsl(236, 86%, 78%)
HSVhsv(236, 38%, 97%)
CMYKcmyk(38.5%, 36%, 0%, 3.1%)
CIE-LABlab(67.90, 19.06, -45.15)
CIE-LCHlch(67.90, 49.00, 292.89°)
OKLaboklab(73.05% 0.0218 -0.1266)
OKLCHoklch(73.05% 0.129 279.8)
XYZxyz(41.9594, 37.8428, 93.0712)
Luminance0.3785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989EF7 #F7F198
analogous
#98CDF7 #989EF7 #C198F7
triadic
#989EF7 #F7989E #9EF798
tetradic
#989EF7 #F798CD #F7F198 #98F7C1
square
#989EF7 #F798CD #F7F198 #98F7C1
split-complementary
#989EF7 #F7C198 #CDF798
monochromatic
#2633EE #5F69F3 #989EF7 #D1D3FB #E3E4FD

Accessibility & contrast

On white

2.45
#989EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#989EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989EF7
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989EF7#FFFFFF#000000##000000
##989EF71.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A9FB
Deuteranopia (green-blind)
#7BA2F5
Tritanopia (blue-blind)
#7CAFBF
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #989ef7;
/* rgb */ color: rgb(152, 158, 247);
/* oklch */ color: oklch(73.1% 0.129 279.8);
Tailwind
colors: {
  custom: {
    50: '#b9bafa',
    500: '#989ef7',
    950: '#000000',
  },
}
SCSS
$custom: #989ef7;
$custom-light: #b9bafa;
$custom-dark: #000000;
JSON
{
  "hex": "#989ef7",
  "rgb": {
    "r": 152,
    "g": 158,
    "b": 247
  },
  "hsl": {
    "h": 236.211,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.73051,
    "c": 0.1285,
    "h": 279.8
  },
  "luminance": 0.37845
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #989EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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