#9FA7FC#9FA7FC

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

Color values

HEX#9FA7FC
RGBrgb(159, 167, 252)
HSLhsl(235, 94%, 81%)
HSVhsv(235, 37%, 99%)
CMYKcmyk(36.9%, 33.7%, 0%, 1.2%)
CIE-LABlab(70.89, 17.11, -43.14)
CIE-LCHlch(70.89, 46.41, 291.63°)
OKLaboklab(75.55% 0.019 -0.1207)
OKLCHoklch(75.55% 0.122 278.9)
XYZxyz(45.6824, 42.0349, 97.7831)
Luminance0.4204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA7FC #FCF49F
analogous
#9FD5FC #9FA7FC #C59FFC
triadic
#9FA7FC #FC9FA7 #A7FC9F
tetradic
#9FA7FC #FC9FD5 #FCF49F #9FFCC5
square
#9FA7FC #FC9FD5 #FCF49F #9FFCC5
split-complementary
#9FA7FC #FCC59F #D5FC9F
monochromatic
#283AF8 #6471FA #9FA7FC #DADDFE #E1E4FE

Accessibility & contrast

On white

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

On black

9.41
#9FA7FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA7FC
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA7FC#FFFFFF#000000##000000
##9FA7FC1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB1FF
Deuteranopia (green-blind)
#86AAFA
Tritanopia (blue-blind)
#84B7C6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #9fa7fc;
/* rgb */ color: rgb(159, 167, 252);
/* oklch */ color: oklch(75.5% 0.122 278.9);
Tailwind
colors: {
  custom: {
    50: '#bec1fd',
    500: '#9fa7fc',
    950: '#000000',
  },
}
SCSS
$custom: #9fa7fc;
$custom-light: #bec1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa7fc",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 252
  },
  "hsl": {
    "h": 234.839,
    "s": 93.939,
    "l": 80.588
  },
  "oklch": {
    "l": 0.75549,
    "c": 0.12217,
    "h": 278.9
  },
  "luminance": 0.42037
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9FA7FC

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

Preview Lab → · Contrast checker → · Palette generator →

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