#8FA7FA#8FA7FA

#8FA7FA is a light, vivid blue. Relative luminance 0.404; OKLCH L 74.4% C 0.123 H 270.9°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#8FA7FA
RGBrgb(143, 167, 250)
HSLhsl(227, 91%, 77%)
HSVhsv(227, 43%, 98%)
CMYKcmyk(42.8%, 33.2%, 0%, 2%)
CIE-LABlab(69.74, 12.48, -43.94)
CIE-LCHlch(69.74, 45.68, 285.85°)
OKLaboklab(74.35% 0.0019 -0.1233)
OKLCHoklch(74.35% 0.123 270.9)
XYZxyz(42.3964, 40.3770, 95.9835)
Luminance0.4038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA7FA #FAE28F
analogous
#8FDDFA #8FA7FA #AD8FFA
triadic
#8FA7FA #FA8FA7 #A7FA8F
tetradic
#8FA7FA #FA8FDD #FAE28F #8FFAAD
square
#8FA7FA #FA8FDD #FAE28F #8FFAAD
split-complementary
#8FA7FA #FAAD8F #DDFA8F
monochromatic
#1A4BF5 #5479F7 #8FA7FA #CAD5FD #E2E8FE

Accessibility & contrast

On white

2.31
#8FA7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#8FA7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA7FA
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA7FA#FFFFFF#000000##000000
##8FA7FA1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAFFD
Deuteranopia (green-blind)
#80A6F8
Tritanopia (blue-blind)
#6AB8C5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #8fa7fa;
/* rgb */ color: rgb(143, 167, 250);
/* oklch */ color: oklch(74.4% 0.123 270.9);
Tailwind
colors: {
  custom: {
    50: '#b4c0fc',
    500: '#8fa7fa',
    950: '#000000',
  },
}
SCSS
$custom: #8fa7fa;
$custom-light: #b4c0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa7fa",
  "rgb": {
    "r": 143,
    "g": 167,
    "b": 250
  },
  "hsl": {
    "h": 226.542,
    "s": 91.453,
    "l": 77.059
  },
  "oklch": {
    "l": 0.74354,
    "c": 0.12331,
    "h": 270.9
  },
  "luminance": 0.40379
}

Semantic roles & 50–950 ramp

primary
#8FA7FA
secondary
#F6EFD5
accent
#B200E6
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8FA7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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