#8FA1F7#8FA1F7

#8FA1F7 is a light, vivid blue. Relative luminance 0.380; OKLCH L 73.0% C 0.127 H 273.9°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#8FA1F7
RGBrgb(143, 161, 247)
HSLhsl(230, 87%, 76%)
HSVhsv(230, 42%, 97%)
CMYKcmyk(42.1%, 34.8%, 0%, 3.1%)
CIE-LABlab(68.05, 15.05, -44.96)
CIE-LCHlch(68.05, 47.41, 288.51°)
OKLaboklab(73.01% 0.0086 -0.1263)
OKLCHoklch(73.01% 0.127 273.9)
XYZxyz(40.8559, 38.0428, 93.1679)
Luminance0.3805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA1F7 #F7E58F
analogous
#8FD5F7 #8FA1F7 #B18FF7
triadic
#8FA1F7 #F78FA1 #A1F78F
tetradic
#8FA1F7 #F78FD5 #F7E58F #8FF7B1
square
#8FA1F7 #F78FD5 #F7E58F #8FF7B1
split-complementary
#8FA1F7 #F7B18F #D5F78F
monochromatic
#1D41EF #5671F3 #8FA1F7 #C8D1FB #E2E7FD

Accessibility & contrast

On white

2.44
#8FA1F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#8FA1F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA1F7
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA1F7#FFFFFF#000000##000000
##8FA1F71.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#83AAFA
Deuteranopia (green-blind)
#7AA2F5
Tritanopia (blue-blind)
#6CB2C1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8fa1f7;
/* rgb */ color: rgb(143, 161, 247);
/* oklch */ color: oklch(73.0% 0.127 273.9);
Tailwind
colors: {
  custom: {
    50: '#b4bcfa',
    500: '#8fa1f7',
    950: '#000000',
  },
}
SCSS
$custom: #8fa1f7;
$custom-light: #b4bcfa;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa1f7",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 247
  },
  "hsl": {
    "h": 229.615,
    "s": 86.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.73008,
    "c": 0.12655,
    "h": 273.9
  },
  "luminance": 0.38045
}

Semantic roles & 50–950 ramp

primary
#8FA1F7
secondary
#F5F0D6
accent
#BC02E3
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8FA1F7

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

Preview Lab → · Contrast checker → · Palette generator →

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