#989CFA#989CFA

#989CFA is a light, vivid blue. Relative luminance 0.374; OKLCH L 72.8% C 0.135 H 280.6°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#989CFA
RGBrgb(152, 156, 250)
HSLhsl(238, 91%, 79%)
HSVhsv(238, 39%, 98%)
CMYKcmyk(39.2%, 37.6%, 0%, 2%)
CIE-LABlab(67.54, 21.01, -47.35)
CIE-LCHlch(67.54, 51.81, 293.93°)
OKLaboklab(72.82% 0.0249 -0.1331)
OKLCHoklch(72.82% 0.135 280.6)
XYZxyz(42.0877, 37.3528, 95.4162)
Luminance0.3735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989CFA #FAF698
analogous
#98CDFA #989CFA #C598FA
triadic
#989CFA #FA989C #9CFA98
tetradic
#989CFA #FA98CD #FAF698 #98FAC5
square
#989CFA #FA98CD #FAF698 #98FAC5
split-complementary
#989CFA #FAC598 #CDFA98
monochromatic
#232CF4 #5E64F7 #989CFA #D2D4FD #E2E3FE

Accessibility & contrast

On white

2.48
#989CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#989CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989CFA
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989CFA#FFFFFF#000000##000000
##989CFA1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA8FE
Deuteranopia (green-blind)
#77A1F8
Tritanopia (blue-blind)
#7BAEBF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #989cfa;
/* rgb */ color: rgb(152, 156, 250);
/* oklch */ color: oklch(72.8% 0.135 280.6);
Tailwind
colors: {
  custom: {
    50: '#bab9fc',
    500: '#989cfa',
    950: '#000000',
  },
}
SCSS
$custom: #989cfa;
$custom-light: #bab9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#989cfa",
  "rgb": {
    "r": 152,
    "g": 156,
    "b": 250
  },
  "hsl": {
    "h": 237.551,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.72817,
    "c": 0.13538,
    "h": 280.6
  },
  "luminance": 0.37354
}

Semantic roles & 50–950 ramp

primary
#989CFA
secondary
#F6F4D5
accent
#DC00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #989CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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