#8FA2F8#8FA2F8

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

Color values

HEX#8FA2F8
RGBrgb(143, 162, 248)
HSLhsl(229, 88%, 77%)
HSVhsv(229, 42%, 97%)
CMYKcmyk(42.3%, 34.7%, 0%, 2.7%)
CIE-LABlab(68.36, 14.76, -45.03)
CIE-LCHlch(68.36, 47.38, 288.15°)
OKLaboklab(73.26% 0.0076 -0.1264)
OKLCHoklch(73.26% 0.127 273.4)
XYZxyz(41.1861, 38.4555, 94.0412)
Luminance0.3846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA2F8 #F8E58F
analogous
#8FD7F8 #8FA2F8 #B18FF8
triadic
#8FA2F8 #F88FA2 #A2F88F
tetradic
#8FA2F8 #F88FD7 #F8E58F #8FF8B1
square
#8FA2F8 #F88FD7 #F8E58F #8FF8B1
split-complementary
#8FA2F8 #F8B18F #D7F88F
monochromatic
#1C42F1 #5572F4 #8FA2F8 #C9D2FC #E2E7FD

Accessibility & contrast

On white

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

On black

8.69
#8FA2F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA2F8
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA2F8#FFFFFF#000000##000000
##8FA2F81.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8fa2f8;
/* rgb */ color: rgb(143, 162, 248);
/* oklch */ color: oklch(73.3% 0.127 273.4);
Tailwind
colors: {
  custom: {
    50: '#b4bdfb',
    500: '#8fa2f8',
    950: '#000000',
  },
}
SCSS
$custom: #8fa2f8;
$custom-light: #b4bdfb;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa2f8",
  "rgb": {
    "r": 143,
    "g": 162,
    "b": 248
  },
  "hsl": {
    "h": 229.143,
    "s": 88.235,
    "l": 76.667
  },
  "oklch": {
    "l": 0.73256,
    "c": 0.12668,
    "h": 273.4
  },
  "luminance": 0.38458
}

Semantic roles & 50–950 ramp

primary
#8FA2F8
secondary
#F5F0D6
accent
#BC01E5
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8FA2F8

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

Preview Lab → · Contrast checker → · Palette generator →

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