#9FA8FF#9FA8FF

#9FA8FF is a light, vivid blue. Relative luminance 0.426; OKLCH L 75.9% C 0.125 H 278.5°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#9FA8FF
RGBrgb(159, 168, 255)
HSLhsl(234, 100%, 81%)
HSVhsv(234, 38%, 100%)
CMYKcmyk(37.6%, 34.1%, 0%, 0%)
CIE-LABlab(71.28, 17.34, -44.16)
CIE-LCHlch(71.28, 47.45, 291.44°)
OKLaboklab(75.89% 0.0184 -0.1236)
OKLCHoklch(75.89% 0.125 278.5)
XYZxyz(46.3455, 42.5943, 100.3680)
Luminance0.4260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA8FF #FFF69F
analogous
#9FD8FF #9FA8FF #C69FFF
triadic
#9FA8FF #FF9FA8 #A8FF9F
tetradic
#9FA8FF #FF9FD8 #FFF69F #9FFFC6
square
#9FA8FF #FF9FD8 #FFF69F #9FFFC6
split-complementary
#9FA8FF #FFC69F #D8FF9F
monochromatic
#2539FF #6271FF #9FA8FF #DCDFFF #E0E3FF

Accessibility & contrast

On white

2.21
#9FA8FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#9FA8FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA8FF
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA8FF#FFFFFF#000000##000000
##9FA8FF1.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB2FF
Deuteranopia (green-blind)
#85ABFD
Tritanopia (blue-blind)
#83B9C8
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #9fa8ff;
/* rgb */ color: rgb(159, 168, 255);
/* oklch */ color: oklch(75.9% 0.125 278.5);
Tailwind
colors: {
  custom: {
    50: '#bec1ff',
    500: '#9fa8ff',
    950: '#000000',
  },
}
SCSS
$custom: #9fa8ff;
$custom-light: #bec1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa8ff",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 255
  },
  "hsl": {
    "h": 234.375,
    "s": 100,
    "l": 81.176
  },
  "oklch": {
    "l": 0.75888,
    "c": 0.12501,
    "h": 278.5
  },
  "luminance": 0.42596
}

Semantic roles & 50–950 ramp

primary
#9FA8FF
secondary
#F7F4D4
accent
#D000E6
background
#FBFBFF
surface
#F7F7FF
border
#D0D0D7
text
#121218
muted
#818186

Preview Lab

Preview with #9FA8FF

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

Preview Lab → · Contrast checker → · Palette generator →

#9FA8FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva