#989FF2#989FF2

#989FF2 is a light, vivid blue. Relative luminance 0.379; OKLCH L 73.0% C 0.120 H 279.3°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#989FF2
RGBrgb(152, 159, 242)
HSLhsl(235, 78%, 77%)
HSVhsv(235, 37%, 95%)
CMYKcmyk(37.2%, 34.3%, 0%, 5.1%)
CIE-LABlab(67.93, 17.14, -42.37)
CIE-LCHlch(67.93, 45.71, 292.03°)
OKLaboklab(73% 0.0194 -0.1186)
OKLCHoklch(73% 0.12 279.3)
XYZxyz(41.3694, 37.8809, 89.1192)
Luminance0.3788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989FF2 #F2EB98
analogous
#98CCF2 #989FF2 #BE98F2
triadic
#989FF2 #F2989F #9FF298
tetradic
#989FF2 #F298CC #F2EB98 #98F2BE
square
#989FF2 #F298CC #F2EB98 #98F2BE
split-complementary
#989FF2 #F2BE98 #CCF298
monochromatic
#2B3AE4 #626CEB #989FF2 #CED2F9 #E4E6FC

Accessibility & contrast

On white

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

On black

8.58
#989FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989FF2
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989FF2#FFFFFF#000000##000000
##989FF21.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A9F5
Deuteranopia (green-blind)
#7FA2F0
Tritanopia (blue-blind)
#7EAFBD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #989ff2;
/* rgb */ color: rgb(152, 159, 242);
/* oklch */ color: oklch(73.0% 0.120 279.3);
Tailwind
colors: {
  custom: {
    50: '#b9bbf6',
    500: '#989ff2',
    950: '#000000',
  },
}
SCSS
$custom: #989ff2;
$custom-light: #b9bbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#989ff2",
  "rgb": {
    "r": 152,
    "g": 159,
    "b": 242
  },
  "hsl": {
    "h": 235.333,
    "s": 77.586,
    "l": 77.255
  },
  "oklch": {
    "l": 0.72999,
    "c": 0.12017,
    "h": 279.3
  },
  "luminance": 0.37882
}

Semantic roles & 50–950 ramp

primary
#989FF2
secondary
#F3F1D8
accent
#CA0CDA
background
#FBFBFF
surface
#F6F6FE
border
#D0D0D6
text
#121117
muted
#818085

Preview Lab

Preview with #989FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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