#9FA7FF#9FA7FF

#9FA7FF is a light, vivid blue. Relative luminance 0.422; OKLCH L 75.7% C 0.126 H 278.9°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#9FA7FF
RGBrgb(159, 167, 255)
HSLhsl(235, 100%, 81%)
HSVhsv(235, 38%, 100%)
CMYKcmyk(37.6%, 34.5%, 0%, 0%)
CIE-LABlab(71.03, 17.91, -44.56)
CIE-LCHlch(71.03, 48.02, 291.89°)
OKLaboklab(75.69% 0.0197 -0.1248)
OKLCHoklch(75.69% 0.126 278.9)
XYZxyz(46.1616, 42.2265, 100.3067)
Luminance0.4223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA7FF #FFF79F
analogous
#9FD7FF #9FA7FF #C79FFF
triadic
#9FA7FF #FF9FA7 #A7FF9F
tetradic
#9FA7FF #FF9FD7 #FFF79F #9FFFC7
square
#9FA7FF #FF9FD7 #FFF79F #9FFFC7
split-complementary
#9FA7FF #FFC79F #D7FF9F
monochromatic
#2537FF #626FFF #9FA7FF #DCDFFF #E0E3FF

Accessibility & contrast

On white

2.22
#9FA7FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#9FA7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA7FF
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA7FF#FFFFFF#000000##000000
##9FA7FF1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB2FF
Deuteranopia (green-blind)
#84AAFD
Tritanopia (blue-blind)
#83B8C7
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #9fa7ff;
/* rgb */ color: rgb(159, 167, 255);
/* oklch */ color: oklch(75.7% 0.126 278.9);
Tailwind
colors: {
  custom: {
    50: '#bec1ff',
    500: '#9fa7ff',
    950: '#000000',
  },
}
SCSS
$custom: #9fa7ff;
$custom-light: #bec1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa7ff",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 255
  },
  "hsl": {
    "h": 235,
    "s": 100,
    "l": 81.176
  },
  "oklch": {
    "l": 0.75694,
    "c": 0.12633,
    "h": 278.9
  },
  "luminance": 0.42228
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9FA7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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