#8E8EF7#8E8EF7

#8E8EF7 is a light, vivid blue. Relative luminance 0.318; OKLCH L 69.3% C 0.152 H 281.7°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8E8EF7
RGBrgb(142, 142, 247)
HSLhsl(240, 87%, 76%)
HSVhsv(240, 43%, 97%)
CMYKcmyk(42.5%, 42.5%, 0%, 3.1%)
CIE-LABlab(63.19, 25.77, -52.64)
CIE-LCHlch(63.19, 58.61, 296.08°)
OKLaboklab(69.26% 0.0308 -0.1487)
OKLCHoklch(69.26% 0.152 281.7)
XYZxyz(37.6119, 31.8105, 92.1359)
Luminance0.3181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8EF7 #F7F78E
analogous
#8EC3F7 #8E8EF7 #C38EF7
triadic
#8E8EF7 #F78E8E #8EF78E
tetradic
#8E8EF7 #F78EC3 #F7F78E #8EF7C3
square
#8E8EF7 #F78EC3 #F7F78E #8EF7C3
split-complementary
#8E8EF7 #F7C38E #C3F78E
monochromatic
#1C1CEF #5555F3 #8E8EF7 #C7C7FB #E2E2FD

Accessibility & contrast

On white

2.85
#8E8EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#8E8EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E8EF7
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8EF7#FFFFFF#000000##000000
##8E8EF71.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFB
Deuteranopia (green-blind)
#6195F5
Tritanopia (blue-blind)
#6DA3B7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8e8ef7;
/* rgb */ color: rgb(142, 142, 247);
/* oklch */ color: oklch(69.3% 0.152 281.7);
Tailwind
colors: {
  custom: {
    50: '#b4affa',
    500: '#8e8ef7',
    950: '#000000',
  },
}
SCSS
$custom: #8e8ef7;
$custom-light: #b4affa;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8ef7",
  "rgb": {
    "r": 142,
    "g": 142,
    "b": 247
  },
  "hsl": {
    "h": 240,
    "s": 86.777,
    "l": 76.275
  },
  "oklch": {
    "l": 0.69262,
    "c": 0.15189,
    "h": 281.7
  },
  "luminance": 0.31812
}

Semantic roles & 50–950 ramp

primary
#8E8EF7
secondary
#F5F5D6
accent
#E302E3
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8E8EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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