#9FA8FC#9FA8FC

#9FA8FC is a light, vivid blue. Relative luminance 0.424; OKLCH L 75.7% C 0.121 H 278.4°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#9FA8FC
RGBrgb(159, 168, 252)
HSLhsl(234, 94%, 81%)
HSVhsv(234, 37%, 99%)
CMYKcmyk(36.9%, 33.3%, 0%, 1.2%)
CIE-LABlab(71.15, 16.55, -42.74)
CIE-LCHlch(71.15, 45.84, 291.16°)
OKLaboklab(75.74% 0.0177 -0.1195)
OKLCHoklch(75.74% 0.121 278.4)
XYZxyz(45.8663, 42.4027, 97.8444)
Luminance0.4240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA8FC #FCF39F
analogous
#9FD6FC #9FA8FC #C59FFC
triadic
#9FA8FC #FC9FA8 #A8FC9F
tetradic
#9FA8FC #FC9FD6 #FCF39F #9FFCC5
square
#9FA8FC #FC9FD6 #FCF39F #9FFCC5
split-complementary
#9FA8FC #FCC59F #D6FC9F
monochromatic
#283CF8 #6472FA #9FA8FC #DADEFE #E1E4FE

Accessibility & contrast

On white

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

On black

9.48
#9FA8FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA8FC
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA8FC#FFFFFF#000000##000000
##9FA8FC1.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB2FF
Deuteranopia (green-blind)
#87ABFA
Tritanopia (blue-blind)
#84B8C7
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #9fa8fc;
/* rgb */ color: rgb(159, 168, 252);
/* oklch */ color: oklch(75.7% 0.121 278.4);
Tailwind
colors: {
  custom: {
    50: '#bec1fd',
    500: '#9fa8fc',
    950: '#000000',
  },
}
SCSS
$custom: #9fa8fc;
$custom-light: #bec1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa8fc",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 252
  },
  "hsl": {
    "h": 234.194,
    "s": 93.939,
    "l": 80.588
  },
  "oklch": {
    "l": 0.75744,
    "c": 0.12084,
    "h": 278.4
  },
  "luminance": 0.42404
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9FA8FC

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

Preview Lab → · Contrast checker → · Palette generator →

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