#8FA2F7#8FA2F7

#8FA2F7 is a light, vivid blue. Relative luminance 0.384; OKLCH L 73.2% C 0.125 H 273.4°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#8FA2F7
RGBrgb(143, 162, 247)
HSLhsl(229, 87%, 76%)
HSVhsv(229, 42%, 97%)
CMYKcmyk(42.1%, 34.4%, 0%, 3.1%)
CIE-LABlab(68.31, 14.48, -44.55)
CIE-LCHlch(68.31, 46.85, 288.01°)
OKLaboklab(73.21% 0.0073 -0.1251)
OKLCHoklch(73.21% 0.125 273.4)
XYZxyz(41.0314, 38.3937, 93.2264)
Luminance0.3840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA2F7 #F7E48F
analogous
#8FD6F7 #8FA2F7 #B08FF7
triadic
#8FA2F7 #F78FA2 #A2F78F
tetradic
#8FA2F7 #F78FD6 #F7E48F #8FF7B0
square
#8FA2F7 #F78FD6 #F7E48F #8FF7B0
split-complementary
#8FA2F7 #F7B08F #D6F78F
monochromatic
#1D43EF #5673F3 #8FA2F7 #C8D1FB #E2E7FD

Accessibility & contrast

On white

2.42
#8FA2F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#8FA2F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA2F7
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA2F7#FFFFFF#000000##000000
##8FA2F71.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ABFA
Deuteranopia (green-blind)
#7CA3F5
Tritanopia (blue-blind)
#6CB3C1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8fa2f7;
/* rgb */ color: rgb(143, 162, 247);
/* oklch */ color: oklch(73.2% 0.125 273.4);
Tailwind
colors: {
  custom: {
    50: '#b4bdfa',
    500: '#8fa2f7',
    950: '#000000',
  },
}
SCSS
$custom: #8fa2f7;
$custom-light: #b4bdfa;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa2f7",
  "rgb": {
    "r": 143,
    "g": 162,
    "b": 247
  },
  "hsl": {
    "h": 229.038,
    "s": 86.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.73206,
    "c": 0.12529,
    "h": 273.4
  },
  "luminance": 0.38396
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8FA2F7

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

Preview Lab → · Contrast checker → · Palette generator →

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