#8FA7FE#8FA7FE

#8FA7FE is a light, vivid blue. Relative luminance 0.406; OKLCH L 74.6% C 0.129 H 271.3°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#8FA7FE
RGBrgb(143, 167, 254)
HSLhsl(227, 98%, 78%)
HSVhsv(227, 44%, 100%)
CMYKcmyk(43.7%, 34.3%, 0%, 0.4%)
CIE-LABlab(69.92, 13.60, -45.83)
CIE-LCHlch(69.92, 47.81, 286.52°)
OKLaboklab(74.55% 0.0029 -0.1288)
OKLCHoklch(74.55% 0.129 271.3)
XYZxyz(43.0302, 40.6305, 99.3218)
Luminance0.4063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA7FE #FEE68F
analogous
#8FDEFE #8FA7FE #AE8FFE
triadic
#8FA7FE #FE8FA7 #A7FE8F
tetradic
#8FA7FE #FE8FDE #FEE68F #8FFEAE
square
#8FA7FE #FE8FDE #FEE68F #8FFEAE
split-complementary
#8FA7FE #FEAE8F #DEFE8F
monochromatic
#1648FD #5277FD #8FA7FE #CCD7FF #E1E7FF

Accessibility & contrast

On white

2.30
#8FA7FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#8FA7FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA7FE
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA7FE#FFFFFF#000000##000000
##8FA7FE1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88B0FF
Deuteranopia (green-blind)
#7EA6FC
Tritanopia (blue-blind)
#68B9C7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #8fa7fe;
/* rgb */ color: rgb(143, 167, 254);
/* oklch */ color: oklch(74.6% 0.129 271.3);
Tailwind
colors: {
  custom: {
    50: '#b4c0ff',
    500: '#8fa7fe',
    950: '#000000',
  },
}
SCSS
$custom: #8fa7fe;
$custom-light: #b4c0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa7fe",
  "rgb": {
    "r": 143,
    "g": 167,
    "b": 254
  },
  "hsl": {
    "h": 227.027,
    "s": 98.23,
    "l": 77.843
  },
  "oklch": {
    "l": 0.74551,
    "c": 0.12881,
    "h": 271.3
  },
  "luminance": 0.40633
}

Semantic roles & 50–950 ramp

primary
#8FA7FE
secondary
#F7EFD4
accent
#B400E6
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111218
muted
#808186

Preview Lab

Preview with #8FA7FE

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

Preview Lab → · Contrast checker → · Palette generator →

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