#8EACFA#8EACFA

#8EACFA is a light, moderate blue. Relative luminance 0.422; OKLCH L 75.3% C 0.118 H 267.5°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#8EACFA
RGBrgb(142, 172, 250)
HSLhsl(223, 92%, 77%)
HSVhsv(223, 43%, 98%)
CMYKcmyk(43.2%, 31.2%, 0%, 2%)
CIE-LABlab(70.98, 9.40, -42.01)
CIE-LCHlch(70.98, 43.05, 282.61°)
OKLaboklab(75.3% -0.0052 -0.1177)
OKLCHoklch(75.3% 0.118 267.5)
XYZxyz(43.1577, 42.1556, 96.2867)
Luminance0.4216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EACFA #FADC8E
analogous
#8EE2FA #8EACFA #A68EFA
triadic
#8EACFA #FA8EAC #ACFA8E
tetradic
#8EACFA #FA8EE2 #FADC8E #8EFAA6
square
#8EACFA #FA8EE2 #FADC8E #8EFAA6
split-complementary
#8EACFA #FAA68E #E2FA8E
monochromatic
#1956F5 #5381F7 #8EACFA #C9D7FD #E2E9FE

Accessibility & contrast

On white

2.23
#8EACFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#8EACFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EACFA
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EACFA#FFFFFF#000000##000000
##8EACFA1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B3FD
Deuteranopia (green-blind)
#86A9F8
Tritanopia (blue-blind)
#68BCC8
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #8eacfa;
/* rgb */ color: rgb(142, 172, 250);
/* oklch */ color: oklch(75.3% 0.118 267.5);
Tailwind
colors: {
  custom: {
    50: '#b3c4fc',
    500: '#8eacfa',
    950: '#000000',
  },
}
SCSS
$custom: #8eacfa;
$custom-light: #b3c4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8eacfa",
  "rgb": {
    "r": 142,
    "g": 172,
    "b": 250
  },
  "hsl": {
    "h": 223.333,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.75299,
    "c": 0.11781,
    "h": 267.5
  },
  "luminance": 0.42158
}

Semantic roles & 50–950 ramp

primary
#8EACFA
secondary
#F6EDD5
accent
#A600E6
background
#FBFCFF
surface
#F6F8FF
border
#D0D1D7
text
#111217
muted
#808185

Preview Lab

Preview with #8EACFA

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

Preview Lab → · Contrast checker → · Palette generator →

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