#8FA1FA#8FA1FA

#8FA1FA is a light, vivid blue. Relative luminance 0.382; OKLCH L 73.2% C 0.131 H 274.1°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#8FA1FA
RGBrgb(143, 161, 250)
HSLhsl(230, 91%, 77%)
HSVhsv(230, 43%, 98%)
CMYKcmyk(42.8%, 35.6%, 0%, 2%)
CIE-LABlab(68.19, 15.89, -46.38)
CIE-LCHlch(68.19, 49.02, 288.92°)
OKLaboklab(73.16% 0.0092 -0.1304)
OKLCHoklch(73.16% 0.131 274.1)
XYZxyz(41.3226, 38.2294, 95.6256)
Luminance0.3823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA1FA #FAE88F
analogous
#8FD6FA #8FA1FA #B38FFA
triadic
#8FA1FA #FA8FA1 #A1FA8F
tetradic
#8FA1FA #FA8FD6 #FAE88F #8FFAB3
square
#8FA1FA #FA8FD6 #FAE88F #8FFAB3
split-complementary
#8FA1FA #FAB38F #D6FA8F
monochromatic
#1A3FF5 #5470F7 #8FA1FA #CAD2FD #E2E6FE

Accessibility & contrast

On white

2.43
#8FA1FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#8FA1FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA1FA
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA1FA#FFFFFF#000000##000000
##8FA1FA1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ABFE
Deuteranopia (green-blind)
#79A2F8
Tritanopia (blue-blind)
#6BB3C2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8fa1fa;
/* rgb */ color: rgb(143, 161, 250);
/* oklch */ color: oklch(73.2% 0.131 274.1);
Tailwind
colors: {
  custom: {
    50: '#b4bcfc',
    500: '#8fa1fa',
    950: '#000000',
  },
}
SCSS
$custom: #8fa1fa;
$custom-light: #b4bcfc;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa1fa",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 250
  },
  "hsl": {
    "h": 229.907,
    "s": 91.453,
    "l": 77.059
  },
  "oklch": {
    "l": 0.73158,
    "c": 0.13071,
    "h": 274.1
  },
  "luminance": 0.38232
}

Semantic roles & 50–950 ramp

primary
#8FA1FA
secondary
#F6F0D5
accent
#BF00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8FA1FA

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

Preview Lab → · Contrast checker → · Palette generator →

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