#9FA2FC#9FA2FC

#9FA2FC is a light, vivid blue. Relative luminance 0.402; OKLCH L 74.6% C 0.129 H 281.3°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#9FA2FC
RGBrgb(159, 162, 252)
HSLhsl(238, 94%, 81%)
HSVhsv(238, 37%, 99%)
CMYKcmyk(36.9%, 35.7%, 0%, 1.2%)
CIE-LABlab(69.64, 19.94, -45.11)
CIE-LCHlch(69.64, 49.32, 293.85°)
OKLaboklab(74.58% 0.0253 -0.1264)
OKLCHoklch(74.58% 0.129 281.3)
XYZxyz(44.7841, 40.2382, 97.4837)
Luminance0.4024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA2FC #FCF99F
analogous
#9FD0FC #9FA2FC #CB9FFC
triadic
#9FA2FC #FC9FA2 #A2FC9F
tetradic
#9FA2FC #FC9FD0 #FCF99F #9FFCCB
square
#9FA2FC #FC9FD0 #FCF99F #9FFCCB
split-complementary
#9FA2FC #FCCB9F #D0FC9F
monochromatic
#282FF8 #6469FA #9FA2FC #DADBFE #E1E2FE

Accessibility & contrast

On white

2.32
#9FA2FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#9FA2FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA2FC
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA2FC#FFFFFF#000000##000000
##9FA2FC1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ADFF
Deuteranopia (green-blind)
#80A7FA
Tritanopia (blue-blind)
#85B3C3
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9fa2fc;
/* rgb */ color: rgb(159, 162, 252);
/* oklch */ color: oklch(74.6% 0.129 281.3);
Tailwind
colors: {
  custom: {
    50: '#bebdfd',
    500: '#9fa2fc',
    950: '#000000',
  },
}
SCSS
$custom: #9fa2fc;
$custom-light: #bebdfd;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa2fc",
  "rgb": {
    "r": 159,
    "g": 162,
    "b": 252
  },
  "hsl": {
    "h": 238.065,
    "s": 93.939,
    "l": 80.588
  },
  "oklch": {
    "l": 0.74583,
    "c": 0.1289,
    "h": 281.3
  },
  "luminance": 0.4024
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9FA2FC

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

Preview Lab → · Contrast checker → · Palette generator →

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