#989AFA#989AFA

#989AFA is a light, vivid blue. Relative luminance 0.367; OKLCH L 72.4% C 0.138 H 281.5°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#989AFA
RGBrgb(152, 154, 250)
HSLhsl(239, 91%, 79%)
HSVhsv(239, 39%, 98%)
CMYKcmyk(39.2%, 38.4%, 0%, 2%)
CIE-LABlab(67.04, 22.16, -48.14)
CIE-LCHlch(67.04, 52.99, 294.72°)
OKLaboklab(72.44% 0.0275 -0.1353)
OKLCHoklch(72.44% 0.138 281.5)
XYZxyz(41.7548, 36.6871, 95.3052)
Luminance0.3669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989AFA #FAF898
analogous
#98CBFA #989AFA #C798FA
triadic
#989AFA #FA989A #9AFA98
tetradic
#989AFA #FA98CB #FAF898 #98FAC7
square
#989AFA #FA98CB #FAF898 #98FAC7
split-complementary
#989AFA #FAC798 #CBFA98
monochromatic
#2328F4 #5E61F7 #989AFA #D2D3FD #E2E2FE

Accessibility & contrast

On white

2.52
#989AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#989AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989AFA
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989AFA#FFFFFF#000000##000000
##989AFA1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A7FE
Deuteranopia (green-blind)
#74A0F8
Tritanopia (blue-blind)
#7BADBE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #989afa;
/* rgb */ color: rgb(152, 154, 250);
/* oklch */ color: oklch(72.4% 0.138 281.5);
Tailwind
colors: {
  custom: {
    50: '#bab7fc',
    500: '#989afa',
    950: '#000000',
  },
}
SCSS
$custom: #989afa;
$custom-light: #bab7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#989afa",
  "rgb": {
    "r": 152,
    "g": 154,
    "b": 250
  },
  "hsl": {
    "h": 238.776,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.72435,
    "c": 0.13811,
    "h": 281.5
  },
  "luminance": 0.36689
}

Semantic roles & 50–950 ramp

primary
#989AFA
secondary
#F6F5D5
accent
#E100E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #989AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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