#9FA7FA#9FA7FA

#9FA7FA is a light, moderate blue. Relative luminance 0.419; OKLCH L 75.5% C 0.119 H 278.9°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#9FA7FA
RGBrgb(159, 167, 250)
HSLhsl(235, 90%, 80%)
HSVhsv(235, 36%, 98%)
CMYKcmyk(36.4%, 33.2%, 0%, 2%)
CIE-LABlab(70.81, 16.58, -42.19)
CIE-LCHlch(70.81, 45.33, 291.46°)
OKLaboklab(75.45% 0.0185 -0.1179)
OKLCHoklch(75.45% 0.119 278.9)
XYZxyz(45.3672, 41.9088, 96.1228)
Luminance0.4191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA7FA #FAF29F
analogous
#9FD5FA #9FA7FA #C49FFA
triadic
#9FA7FA #FA9FA7 #A7FA9F
tetradic
#9FA7FA #FA9FD5 #FAF29F #9FFAC4
square
#9FA7FA #FA9FD5 #FAF29F #9FFAC4
split-complementary
#9FA7FA #FAC49F #D5FA9F
monochromatic
#2B3CF4 #6572F7 #9FA7FA #D9DCFD #E2E4FD

Accessibility & contrast

On white

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

On black

9.38
#9FA7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA7FA
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA7FA#FFFFFF#000000##000000
##9FA7FA1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB1FD
Deuteranopia (green-blind)
#87AAF8
Tritanopia (blue-blind)
#85B7C5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #9fa7fa;
/* rgb */ color: rgb(159, 167, 250);
/* oklch */ color: oklch(75.5% 0.119 278.9);
Tailwind
colors: {
  custom: {
    50: '#bec1fc',
    500: '#9fa7fa',
    950: '#000000',
  },
}
SCSS
$custom: #9fa7fa;
$custom-light: #bec1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa7fa",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 250
  },
  "hsl": {
    "h": 234.725,
    "s": 90.099,
    "l": 80.196
  },
  "oklch": {
    "l": 0.75454,
    "c": 0.11938,
    "h": 278.9
  },
  "luminance": 0.4191
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9FA7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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