#9FA8FA#9FA8FA

#9FA8FA is a light, moderate blue. Relative luminance 0.423; OKLCH L 75.6% C 0.118 H 278.4°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#9FA8FA
RGBrgb(159, 168, 250)
HSLhsl(234, 90%, 80%)
HSVhsv(234, 36%, 98%)
CMYKcmyk(36.4%, 32.8%, 0%, 2%)
CIE-LABlab(71.06, 16.02, -41.80)
CIE-LCHlch(71.06, 44.76, 290.97°)
OKLaboklab(75.65% 0.0172 -0.1168)
OKLCHoklch(75.65% 0.118 278.4)
XYZxyz(45.5511, 42.2766, 96.1841)
Luminance0.4228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA8FA #FAF19F
analogous
#9FD5FA #9FA8FA #C39FFA
triadic
#9FA8FA #FA9FA8 #A8FA9F
tetradic
#9FA8FA #FA9FD5 #FAF19F #9FFAC3
square
#9FA8FA #FA9FD5 #FAF19F #9FFAC3
split-complementary
#9FA8FA #FAC39F #D5FA9F
monochromatic
#2B3FF4 #6573F7 #9FA8FA #D9DDFD #E2E5FD

Accessibility & contrast

On white

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

On black

9.46
#9FA8FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA8FA
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA8FA#FFFFFF#000000##000000
##9FA8FA1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB2FD
Deuteranopia (green-blind)
#88ABF8
Tritanopia (blue-blind)
#85B8C6
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #9fa8fa;
/* rgb */ color: rgb(159, 168, 250);
/* oklch */ color: oklch(75.6% 0.118 278.4);
Tailwind
colors: {
  custom: {
    50: '#bec1fc',
    500: '#9fa8fa',
    950: '#000000',
  },
}
SCSS
$custom: #9fa8fa;
$custom-light: #bec1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa8fa",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 250
  },
  "hsl": {
    "h": 234.066,
    "s": 90.099,
    "l": 80.196
  },
  "oklch": {
    "l": 0.75649,
    "c": 0.11806,
    "h": 278.4
  },
  "luminance": 0.42278
}

Semantic roles & 50–950 ramp

primary
#9FA8FA
secondary
#F6F2D5
accent
#CF00E6
background
#FBFBFF
surface
#F7F7FF
border
#D0D0D7
text
#121217
muted
#818185

Preview Lab

Preview with #9FA8FA

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

Preview Lab → · Contrast checker → · Palette generator →

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