#9FA7FB#9FA7FB

#9FA7FB is a light, vivid blue. Relative luminance 0.420; OKLCH L 75.5% C 0.121 H 278.9°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#9FA7FB
RGBrgb(159, 167, 251)
HSLhsl(235, 92%, 80%)
HSVhsv(235, 37%, 98%)
CMYKcmyk(36.7%, 33.5%, 0%, 1.6%)
CIE-LABlab(70.85, 16.85, -42.67)
CIE-LCHlch(70.85, 45.87, 291.55°)
OKLaboklab(75.5% 0.0187 -0.1193)
OKLCHoklch(75.5% 0.121 278.9)
XYZxyz(45.5244, 41.9717, 96.9508)
Luminance0.4197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA7FB #FBF39F
analogous
#9FD5FB #9FA7FB #C59FFB
triadic
#9FA7FB #FB9FA7 #A7FB9F
tetradic
#9FA7FB #FB9FD5 #FBF39F #9FFBC5
square
#9FA7FB #FB9FD5 #FBF39F #9FFBC5
split-complementary
#9FA7FB #FBC59F #D5FB9F
monochromatic
#293BF6 #6471F9 #9FA7FB #DADDFD #E2E4FE

Accessibility & contrast

On white

2.24
#9FA7FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#9FA7FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA7FB
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA7FB#FFFFFF#000000##000000
##9FA7FB1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB1FE
Deuteranopia (green-blind)
#86AAF9
Tritanopia (blue-blind)
#85B7C6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #9fa7fb;
/* rgb */ color: rgb(159, 167, 251);
/* oklch */ color: oklch(75.5% 0.121 278.9);
Tailwind
colors: {
  custom: {
    50: '#bec1fd',
    500: '#9fa7fb',
    950: '#000000',
  },
}
SCSS
$custom: #9fa7fb;
$custom-light: #bec1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa7fb",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 251
  },
  "hsl": {
    "h": 234.783,
    "s": 92,
    "l": 80.392
  },
  "oklch": {
    "l": 0.75501,
    "c": 0.12078,
    "h": 278.9
  },
  "luminance": 0.41973
}

Semantic roles & 50–950 ramp

primary
#9FA7FB
secondary
#F6F3D5
accent
#D200E6
background
#FBFBFF
surface
#F7F7FF
border
#D0D0D7
text
#121217
muted
#818185

Preview Lab

Preview with #9FA7FB

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

Preview Lab → · Contrast checker → · Palette generator →

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