#8FA2FE#8FA2FE

#8FA2FE is a light, vivid blue. Relative luminance 0.388; OKLCH L 73.6% C 0.135 H 273.8°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#8FA2FE
RGBrgb(143, 162, 254)
HSLhsl(230, 98%, 78%)
HSVhsv(230, 44%, 100%)
CMYKcmyk(43.7%, 36.2%, 0%, 0.4%)
CIE-LABlab(68.63, 16.45, -47.86)
CIE-LCHlch(68.63, 50.60, 288.97°)
OKLaboklab(73.56% 0.0089 -0.1347)
OKLCHoklch(73.56% 0.135 273.8)
XYZxyz(42.1319, 38.8339, 99.0224)
Luminance0.3884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA2FE #FEEB8F
analogous
#8FD9FE #8FA2FE #B48FFE
triadic
#8FA2FE #FE8FA2 #A2FE8F
tetradic
#8FA2FE #FE8FD9 #FEEB8F #8FFEB4
square
#8FA2FE #FE8FD9 #FEEB8F #8FFEB4
split-complementary
#8FA2FE #FEB48F #D9FE8F
monochromatic
#163DFD #5270FD #8FA2FE #CCD4FF #E1E6FF

Accessibility & contrast

On white

2.40
#8FA2FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#8FA2FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA2FE
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA2FE#FFFFFF#000000##000000
##8FA2FE1.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ACFF
Deuteranopia (green-blind)
#77A3FC
Tritanopia (blue-blind)
#69B5C4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8fa2fe;
/* rgb */ color: rgb(143, 162, 254);
/* oklch */ color: oklch(73.6% 0.135 273.8);
Tailwind
colors: {
  custom: {
    50: '#b4bdff',
    500: '#8fa2fe',
    950: '#000000',
  },
}
SCSS
$custom: #8fa2fe;
$custom-light: #b4bdff;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa2fe",
  "rgb": {
    "r": 143,
    "g": 162,
    "b": 254
  },
  "hsl": {
    "h": 229.73,
    "s": 98.23,
    "l": 77.843
  },
  "oklch": {
    "l": 0.73559,
    "c": 0.13497,
    "h": 273.8
  },
  "luminance": 0.38836
}

Semantic roles & 50–950 ramp

primary
#8FA2FE
secondary
#F7F1D4
accent
#BE00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111218
muted
#808186

Preview Lab

Preview with #8FA2FE

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

Preview Lab → · Contrast checker → · Palette generator →

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