#9FA7FE#9FA7FE

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

Color values

HEX#9FA7FE
RGBrgb(159, 167, 254)
HSLhsl(235, 98%, 81%)
HSVhsv(235, 37%, 100%)
CMYKcmyk(37.4%, 34.3%, 0%, 0.4%)
CIE-LABlab(70.98, 17.64, -44.09)
CIE-LCHlch(70.98, 47.48, 291.81°)
OKLaboklab(75.65% 0.0194 -0.1234)
OKLCHoklch(75.65% 0.125 278.9)
XYZxyz(46.0010, 42.1623, 99.4611)
Luminance0.4216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA7FE #FEF69F
analogous
#9FD6FE #9FA7FE #C69FFE
triadic
#9FA7FE #FE9FA7 #A7FE9F
tetradic
#9FA7FE #FE9FD6 #FEF69F #9FFEC6
square
#9FA7FE #FE9FD6 #FEF69F #9FFEC6
split-complementary
#9FA7FE #FEC69F #D6FE9F
monochromatic
#2638FD #626FFD #9FA7FE #DCDFFF #E1E3FF

Accessibility & contrast

On white

2.23
#9FA7FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#9FA7FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA7FE
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA7FE#FFFFFF#000000##000000
##9FA7FE1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB1FF
Deuteranopia (green-blind)
#85AAFC
Tritanopia (blue-blind)
#83B8C7
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #9fa7fe;
/* rgb */ color: rgb(159, 167, 254);
/* oklch */ color: oklch(75.6% 0.125 278.9);
Tailwind
colors: {
  custom: {
    50: '#bec1ff',
    500: '#9fa7fe',
    950: '#000000',
  },
}
SCSS
$custom: #9fa7fe;
$custom-light: #bec1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa7fe",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 254
  },
  "hsl": {
    "h": 234.947,
    "s": 97.938,
    "l": 80.98
  },
  "oklch": {
    "l": 0.75646,
    "c": 0.12494,
    "h": 278.9
  },
  "luminance": 0.42164
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9FA7FE

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

Preview Lab → · Contrast checker → · Palette generator →

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