#9FA7F5#9FA7F5

#9FA7F5 is a light, moderate blue. Relative luminance 0.416; OKLCH L 75.2% C 0.112 H 278.8°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#9FA7F5
RGBrgb(159, 167, 245)
HSLhsl(234, 81%, 79%)
HSVhsv(234, 35%, 96%)
CMYKcmyk(35.1%, 31.8%, 0%, 3.9%)
CIE-LABlab(70.59, 15.27, -39.81)
CIE-LCHlch(70.59, 42.64, 290.99°)
OKLaboklab(75.22% 0.0173 -0.1111)
OKLCHoklch(75.22% 0.112 278.8)
XYZxyz(44.5935, 41.5993, 92.0484)
Luminance0.4160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA7F5 #F5ED9F
analogous
#9FD2F5 #9FA7F5 #C29FF5
triadic
#9FA7F5 #F59FA7 #A7F59F
tetradic
#9FA7F5 #F59FD2 #F5ED9F #9FF5C2
square
#9FA7F5 #F59FD2 #F5ED9F #9FF5C2
split-complementary
#9FA7F5 #F5C29F #D2F59F
monochromatic
#3041E9 #6874EF #9FA7F5 #D6DAFB #E3E6FC

Accessibility & contrast

On white

2.25
#9FA7F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#9FA7F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA7F5
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA7F5#FFFFFF#000000##000000
##9FA7F51.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB0F8
Deuteranopia (green-blind)
#89AAF3
Tritanopia (blue-blind)
#87B6C3
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #9fa7f5;
/* rgb */ color: rgb(159, 167, 245);
/* oklch */ color: oklch(75.2% 0.112 278.8);
Tailwind
colors: {
  custom: {
    50: '#bec1f8',
    500: '#9fa7f5',
    950: '#000000',
  },
}
SCSS
$custom: #9fa7f5;
$custom-light: #bec1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa7f5",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 245
  },
  "hsl": {
    "h": 234.419,
    "s": 81.132,
    "l": 79.216
  },
  "oklch": {
    "l": 0.75218,
    "c": 0.1124,
    "h": 278.8
  },
  "luminance": 0.41601
}

Semantic roles & 50–950 ramp

primary
#9FA7F5
secondary
#F4F1D7
accent
#CA08DD
background
#FBFBFF
surface
#F7F7FF
border
#D0D0D7
text
#121217
muted
#818185

Preview Lab

Preview with #9FA7F5

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

Preview Lab → · Contrast checker → · Palette generator →

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