#8EA1F7#8EA1F7

#8EA1F7 is a light, vivid blue. Relative luminance 0.380; OKLCH L 72.9% C 0.127 H 273.4°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#8EA1F7
RGBrgb(142, 161, 247)
HSLhsl(229, 87%, 76%)
HSVhsv(229, 43%, 97%)
CMYKcmyk(42.5%, 34.8%, 0%, 3.1%)
CIE-LABlab(67.99, 14.81, -45.06)
CIE-LCHlch(67.99, 47.43, 288.19°)
OKLaboklab(72.94% 0.0075 -0.1266)
OKLCHoklch(72.94% 0.127 273.4)
XYZxyz(40.6836, 37.9539, 93.1598)
Luminance0.3796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA1F7 #F7E48E
analogous
#8ED6F7 #8EA1F7 #B08EF7
triadic
#8EA1F7 #F78EA1 #A1F78E
tetradic
#8EA1F7 #F78ED6 #F7E48E #8EF7B0
square
#8EA1F7 #F78ED6 #F7E48E #8EF7B0
split-complementary
#8EA1F7 #F7B08E #D6F78E
monochromatic
#1C42EF #5571F3 #8EA1F7 #C7D1FB #E2E7FD

Accessibility & contrast

On white

2.44
#8EA1F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#8EA1F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA1F7
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA1F7#FFFFFF#000000##000000
##8EA1F71.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83AAFA
Deuteranopia (green-blind)
#7AA2F5
Tritanopia (blue-blind)
#6BB2C1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8ea1f7;
/* rgb */ color: rgb(142, 161, 247);
/* oklch */ color: oklch(72.9% 0.127 273.4);
Tailwind
colors: {
  custom: {
    50: '#b3bcfa',
    500: '#8ea1f7',
    950: '#000000',
  },
}
SCSS
$custom: #8ea1f7;
$custom-light: #b3bcfa;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea1f7",
  "rgb": {
    "r": 142,
    "g": 161,
    "b": 247
  },
  "hsl": {
    "h": 229.143,
    "s": 86.777,
    "l": 76.275
  },
  "oklch": {
    "l": 0.7294,
    "c": 0.12681,
    "h": 273.4
  },
  "luminance": 0.37956
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8EA1F7

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

Preview Lab → · Contrast checker → · Palette generator →

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