#8FA2FA#8FA2FA

#8FA2FA is a light, vivid blue. Relative luminance 0.386; OKLCH L 73.4% C 0.129 H 273.6°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#8FA2FA
RGBrgb(143, 162, 250)
HSLhsl(229, 91%, 77%)
HSVhsv(229, 43%, 98%)
CMYKcmyk(42.8%, 35.2%, 0%, 2%)
CIE-LABlab(68.45, 15.32, -45.97)
CIE-LCHlch(68.45, 48.46, 288.43°)
OKLaboklab(73.36% 0.008 -0.1292)
OKLCHoklch(73.36% 0.129 273.6)
XYZxyz(41.4981, 38.5803, 95.6841)
Luminance0.3858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA2FA #FAE78F
analogous
#8FD7FA #8FA2FA #B28FFA
triadic
#8FA2FA #FA8FA2 #A2FA8F
tetradic
#8FA2FA #FA8FD7 #FAE78F #8FFAB2
square
#8FA2FA #FA8FD7 #FAE78F #8FFAB2
split-complementary
#8FA2FA #FAB28F #D7FA8F
monochromatic
#1A41F5 #5471F7 #8FA2FA #CAD3FD #E2E7FE

Accessibility & contrast

On white

2.41
#8FA2FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#8FA2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA2FA
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA2FA#FFFFFF#000000##000000
##8FA2FA1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ACFE
Deuteranopia (green-blind)
#7AA3F8
Tritanopia (blue-blind)
#6BB4C2
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8fa2fa;
/* rgb */ color: rgb(143, 162, 250);
/* oklch */ color: oklch(73.4% 0.129 273.6);
Tailwind
colors: {
  custom: {
    50: '#b4bdfc',
    500: '#8fa2fa',
    950: '#000000',
  },
}
SCSS
$custom: #8fa2fa;
$custom-light: #b4bdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa2fa",
  "rgb": {
    "r": 143,
    "g": 162,
    "b": 250
  },
  "hsl": {
    "h": 229.346,
    "s": 91.453,
    "l": 77.059
  },
  "oklch": {
    "l": 0.73356,
    "c": 0.12945,
    "h": 273.6
  },
  "luminance": 0.38582
}

Semantic roles & 50–950 ramp

primary
#8FA2FA
secondary
#F6F0D5
accent
#BD00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8FA2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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