#8FA7FD#8FA7FD

#8FA7FD is a light, vivid blue. Relative luminance 0.406; OKLCH L 74.5% C 0.127 H 271.2°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#8FA7FD
RGBrgb(143, 167, 253)
HSLhsl(227, 96%, 78%)
HSVhsv(227, 43%, 99%)
CMYKcmyk(43.5%, 34%, 0%, 0.8%)
CIE-LABlab(69.87, 13.32, -45.36)
CIE-LCHlch(69.87, 47.28, 286.36°)
OKLaboklab(74.5% 0.0026 -0.1274)
OKLCHoklch(74.5% 0.127 271.2)
XYZxyz(42.8705, 40.5666, 98.4807)
Luminance0.4057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA7FD #FDE58F
analogous
#8FDEFD #8FA7FD #AE8FFD
triadic
#8FA7FD #FD8FA7 #A7FD8F
tetradic
#8FA7FD #FD8FDE #FDE58F #8FFDAE
square
#8FA7FD #FD8FDE #FDE58F #8FFDAE
split-complementary
#8FA7FD #FDAE8F #DEFD8F
monochromatic
#1749FB #5378FC #8FA7FD #CBD6FE #E1E7FE

Accessibility & contrast

On white

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

On black

9.11
#8FA7FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA7FD
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA7FD#FFFFFF#000000##000000
##8FA7FD1.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8fa7fd;
/* rgb */ color: rgb(143, 167, 253);
/* oklch */ color: oklch(74.5% 0.127 271.2);
Tailwind
colors: {
  custom: {
    50: '#b4c0fe',
    500: '#8fa7fd',
    950: '#000000',
  },
}
SCSS
$custom: #8fa7fd;
$custom-light: #b4c0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa7fd",
  "rgb": {
    "r": 143,
    "g": 167,
    "b": 253
  },
  "hsl": {
    "h": 226.909,
    "s": 96.491,
    "l": 77.647
  },
  "oklch": {
    "l": 0.74501,
    "c": 0.12745,
    "h": 271.2
  },
  "luminance": 0.40569
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8FA7FD

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

Preview Lab → · Contrast checker → · Palette generator →

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