#9FA2FF#9FA2FF

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

Color values

HEX#9FA2FF
RGBrgb(159, 162, 255)
HSLhsl(238, 100%, 81%)
HSVhsv(238, 38%, 100%)
CMYKcmyk(37.6%, 36.5%, 0%, 0%)
CIE-LABlab(69.77, 20.74, -46.52)
CIE-LCHlch(69.77, 50.94, 294.02°)
OKLaboklab(74.73% 0.026 -0.1305)
OKLCHoklch(74.73% 0.133 281.3)
XYZxyz(45.2632, 40.4299, 100.0072)
Luminance0.4043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA2FF #FFFC9F
analogous
#9FD2FF #9FA2FF #CC9FFF
triadic
#9FA2FF #FF9FA2 #A2FF9F
tetradic
#9FA2FF #FF9FD2 #FFFC9F #9FFFCC
square
#9FA2FF #FF9FD2 #FFFC9F #9FFFCC
split-complementary
#9FA2FF #FFCC9F #D2FF9F
monochromatic
#252BFF #6267FF #9FA2FF #DCDDFF #E0E1FF

Accessibility & contrast

On white

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

On black

9.09
#9FA2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA2FF
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA2FF#FFFFFF#000000##000000
##9FA2FF1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83AEFF
Deuteranopia (green-blind)
#7EA7FD
Tritanopia (blue-blind)
#83B4C5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9fa2ff;
/* rgb */ color: rgb(159, 162, 255);
/* oklch */ color: oklch(74.7% 0.133 281.3);
Tailwind
colors: {
  custom: {
    50: '#bebdff',
    500: '#9fa2ff',
    950: '#000000',
  },
}
SCSS
$custom: #9fa2ff;
$custom-light: #bebdff;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa2ff",
  "rgb": {
    "r": 159,
    "g": 162,
    "b": 255
  },
  "hsl": {
    "h": 238.125,
    "s": 100,
    "l": 81.176
  },
  "oklch": {
    "l": 0.74732,
    "c": 0.13306,
    "h": 281.3
  },
  "luminance": 0.40432
}

Semantic roles & 50–950 ramp

primary
#9FA2FF
secondary
#F7F6D4
accent
#DE00E6
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#121218
muted
#818186

Preview Lab

Preview with #9FA2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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