#8FA1FC#8FA1FC

#8FA1FC is a light, vivid blue. Relative luminance 0.384; OKLCH L 73.3% C 0.133 H 274.2°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#8FA1FC
RGBrgb(143, 161, 252)
HSLhsl(230, 95%, 77%)
HSVhsv(230, 43%, 99%)
CMYKcmyk(43.3%, 36.1%, 0%, 1.2%)
CIE-LABlab(68.28, 16.46, -47.32)
CIE-LCHlch(68.28, 50.10, 289.18°)
OKLaboklab(73.26% 0.0097 -0.1331)
OKLCHoklch(73.26% 0.133 274.2)
XYZxyz(41.6379, 38.3555, 97.2860)
Luminance0.3836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA1FC #FCEA8F
analogous
#8FD7FC #8FA1FC #B48FFC
triadic
#8FA1FC #FC8FA1 #A1FC8F
tetradic
#8FA1FC #FC8FD7 #FCEA8F #8FFCB4
square
#8FA1FC #FC8FD7 #FCEA8F #8FFCB4
split-complementary
#8FA1FC #FCB48F #D7FC8F
monochromatic
#183DF9 #536FFA #8FA1FC #CBD3FE #E1E6FE

Accessibility & contrast

On white

2.42
#8FA1FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#8FA1FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA1FC
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA1FC#FFFFFF#000000##000000
##8FA1FC1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#80ABFF
Deuteranopia (green-blind)
#77A2FA
Tritanopia (blue-blind)
#6AB4C3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8fa1fc;
/* rgb */ color: rgb(143, 161, 252);
/* oklch */ color: oklch(73.3% 0.133 274.2);
Tailwind
colors: {
  custom: {
    50: '#b4bcfe',
    500: '#8fa1fc',
    950: '#000000',
  },
}
SCSS
$custom: #8fa1fc;
$custom-light: #b4bcfe;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa1fc",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 252
  },
  "hsl": {
    "h": 230.092,
    "s": 94.783,
    "l": 77.451
  },
  "oklch": {
    "l": 0.7326,
    "c": 0.13347,
    "h": 274.2
  },
  "luminance": 0.38358
}

Semantic roles & 50–950 ramp

primary
#8FA1FC
secondary
#F6F1D5
accent
#C000E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111218
muted
#808186

Preview Lab

Preview with #8FA1FC

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

Preview Lab → · Contrast checker → · Palette generator →

#8FA1FC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva