#8FA4F7#8FA4F7

#8FA4F7 is a light, vivid blue. Relative luminance 0.391; OKLCH L 73.6% C 0.123 H 272.3°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#8FA4F7
RGBrgb(143, 164, 247)
HSLhsl(228, 87%, 76%)
HSVhsv(228, 42%, 97%)
CMYKcmyk(42.1%, 33.6%, 0%, 3.1%)
CIE-LABlab(68.83, 13.34, -43.74)
CIE-LCHlch(68.83, 45.73, 286.96°)
OKLaboklab(73.61% 0.0049 -0.1227)
OKLCHoklch(73.61% 0.123 272.3)
XYZxyz(41.3865, 39.1039, 93.3447)
Luminance0.3911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA4F7 #F7E28F
analogous
#8FD8F7 #8FA4F7 #AE8FF7
triadic
#8FA4F7 #F78FA4 #A4F78F
tetradic
#8FA4F7 #F78FD8 #F7E28F #8FF7AE
square
#8FA4F7 #F78FD8 #F7E28F #8FF7AE
split-complementary
#8FA4F7 #F7AE8F #D8F78F
monochromatic
#1D47EF #5676F3 #8FA4F7 #C8D2FB #E2E8FD

Accessibility & contrast

On white

2.38
#8FA4F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#8FA4F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA4F7
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA4F7#FFFFFF#000000##000000
##8FA4F71.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#87ADFA
Deuteranopia (green-blind)
#7EA4F5
Tritanopia (blue-blind)
#6CB5C2
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8fa4f7;
/* rgb */ color: rgb(143, 164, 247);
/* oklch */ color: oklch(73.6% 0.123 272.3);
Tailwind
colors: {
  custom: {
    50: '#b4befa',
    500: '#8fa4f7',
    950: '#000000',
  },
}
SCSS
$custom: #8fa4f7;
$custom-light: #b4befa;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa4f7",
  "rgb": {
    "r": 143,
    "g": 164,
    "b": 247
  },
  "hsl": {
    "h": 227.885,
    "s": 86.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.73605,
    "c": 0.12282,
    "h": 272.3
  },
  "luminance": 0.39106
}

Semantic roles & 50–950 ramp

primary
#8FA4F7
secondary
#F5EFD6
accent
#B602E3
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8FA4F7

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

Preview Lab → · Contrast checker → · Palette generator →

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