#9FA2FE#9FA2FE

#9FA2FE is a light, vivid blue. Relative luminance 0.404; OKLCH L 74.7% C 0.132 H 281.3°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#9FA2FE
RGBrgb(159, 162, 254)
HSLhsl(238, 98%, 81%)
HSVhsv(238, 37%, 100%)
CMYKcmyk(37.4%, 36.2%, 0%, 0.4%)
CIE-LABlab(69.73, 20.47, -46.05)
CIE-LCHlch(69.73, 50.40, 293.97°)
OKLaboklab(74.68% 0.0258 -0.1291)
OKLCHoklch(74.68% 0.132 281.3)
XYZxyz(45.1027, 40.3657, 99.1616)
Luminance0.4037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA2FE #FEFB9F
analogous
#9FD1FE #9FA2FE #CB9FFE
triadic
#9FA2FE #FE9FA2 #A2FE9F
tetradic
#9FA2FE #FE9FD1 #FEFB9F #9FFECB
square
#9FA2FE #FE9FD1 #FEFB9F #9FFECB
split-complementary
#9FA2FE #FECB9F #D1FE9F
monochromatic
#262DFD #6267FD #9FA2FE #DCDDFF #E1E2FF

Accessibility & contrast

On white

2.31
#9FA2FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#9FA2FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA2FE
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA2FE#FFFFFF#000000##000000
##9FA2FE1.002.319.079.07
#FFFFFF2.311.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#84AEFF
Deuteranopia (green-blind)
#7FA7FC
Tritanopia (blue-blind)
#84B4C4
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9fa2fe;
/* rgb */ color: rgb(159, 162, 254);
/* oklch */ color: oklch(74.7% 0.132 281.3);
Tailwind
colors: {
  custom: {
    50: '#bebdff',
    500: '#9fa2fe',
    950: '#000000',
  },
}
SCSS
$custom: #9fa2fe;
$custom-light: #bebdff;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa2fe",
  "rgb": {
    "r": 159,
    "g": 162,
    "b": 254
  },
  "hsl": {
    "h": 238.105,
    "s": 97.938,
    "l": 80.98
  },
  "oklch": {
    "l": 0.74682,
    "c": 0.13168,
    "h": 281.3
  },
  "luminance": 0.40367
}

Semantic roles & 50–950 ramp

primary
#9FA2FE
secondary
#F7F6D4
accent
#DE00E6
background
#FBFBFF
surface
#F7F6FF
border
#D0D0D7
text
#121218
muted
#818186

Preview Lab

Preview with #9FA2FE

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

Preview Lab → · Contrast checker → · Palette generator →

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