#8FA1F5#8FA1F5

#8FA1F5 is a light, vivid blue. Relative luminance 0.379; OKLCH L 72.9% C 0.124 H 273.7°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#8FA1F5
RGBrgb(143, 161, 245)
HSLhsl(229, 84%, 76%)
HSVhsv(229, 42%, 96%)
CMYKcmyk(41.6%, 34.3%, 0%, 3.9%)
CIE-LABlab(67.96, 14.50, -44.01)
CIE-LCHlch(67.96, 46.33, 288.23°)
OKLaboklab(72.91% 0.0081 -0.1235)
OKLCHoklch(72.91% 0.124 273.7)
XYZxyz(40.5490, 37.9200, 91.5512)
Luminance0.3792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA1F5 #F5E38F
analogous
#8FD4F5 #8FA1F5 #B08FF5
triadic
#8FA1F5 #F58FA1 #A1F58F
tetradic
#8FA1F5 #F58FD4 #F5E38F #8FF5B0
square
#8FA1F5 #F58FD4 #F5E38F #8FF5B0
split-complementary
#8FA1F5 #F5B08F #D4F58F
monochromatic
#1F43EB #5772F0 #8FA1F5 #C7D0FA #E3E7FC

Accessibility & contrast

On white

2.45
#8FA1F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#8FA1F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA1F5
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA1F5#FFFFFF#000000##000000
##8FA1F51.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84AAF8
Deuteranopia (green-blind)
#7BA2F3
Tritanopia (blue-blind)
#6DB2C0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8fa1f5;
/* rgb */ color: rgb(143, 161, 245);
/* oklch */ color: oklch(72.9% 0.124 273.7);
Tailwind
colors: {
  custom: {
    50: '#b4bcf9',
    500: '#8fa1f5',
    950: '#000000',
  },
}
SCSS
$custom: #8fa1f5;
$custom-light: #b4bcf9;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa1f5",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 245
  },
  "hsl": {
    "h": 229.412,
    "s": 83.607,
    "l": 76.078
  },
  "oklch": {
    "l": 0.72908,
    "c": 0.12376,
    "h": 273.7
  },
  "luminance": 0.37922
}

Semantic roles & 50–950 ramp

primary
#8FA1F5
secondary
#F4EFD7
accent
#B905E0
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8FA1F5

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

Preview Lab → · Contrast checker → · Palette generator →

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