#8FA2FC#8FA2FC

#8FA2FC is a light, vivid blue. Relative luminance 0.387; OKLCH L 73.5% C 0.132 H 273.7°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#8FA2FC
RGBrgb(143, 162, 252)
HSLhsl(230, 95%, 77%)
HSVhsv(230, 43%, 99%)
CMYKcmyk(43.3%, 35.7%, 0%, 1.2%)
CIE-LABlab(68.54, 15.88, -46.91)
CIE-LCHlch(68.54, 49.53, 288.71°)
OKLaboklab(73.46% 0.0085 -0.1319)
OKLCHoklch(73.46% 0.132 273.7)
XYZxyz(41.8133, 38.7064, 97.3445)
Luminance0.3871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA2FC #FCE98F
analogous
#8FD9FC #8FA2FC #B28FFC
triadic
#8FA2FC #FC8FA2 #A2FC8F
tetradic
#8FA2FC #FC8FD9 #FCE98F #8FFCB2
square
#8FA2FC #FC8FD9 #FCE98F #8FFCB2
split-complementary
#8FA2FC #FCB28F #D9FC8F
monochromatic
#183FF9 #5371FA #8FA2FC #CBD3FE #E1E6FE

Accessibility & contrast

On white

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

On black

8.74
#8FA2FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA2FC
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA2FC#FFFFFF#000000##000000
##8FA2FC1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ACFF
Deuteranopia (green-blind)
#79A3FA
Tritanopia (blue-blind)
#6AB4C3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8fa2fc;
/* rgb */ color: rgb(143, 162, 252);
/* oklch */ color: oklch(73.5% 0.132 273.7);
Tailwind
colors: {
  custom: {
    50: '#b4bdfe',
    500: '#8fa2fc',
    950: '#000000',
  },
}
SCSS
$custom: #8fa2fc;
$custom-light: #b4bdfe;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa2fc",
  "rgb": {
    "r": 143,
    "g": 162,
    "b": 252
  },
  "hsl": {
    "h": 229.541,
    "s": 94.783,
    "l": 77.451
  },
  "oklch": {
    "l": 0.73457,
    "c": 0.13221,
    "h": 273.7
  },
  "luminance": 0.38709
}

Semantic roles & 50–950 ramp

primary
#8FA2FC
secondary
#F6F1D5
accent
#BD00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111218
muted
#808186

Preview Lab

Preview with #8FA2FC

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

Preview Lab → · Contrast checker → · Palette generator →

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