#8E8DF7#8E8DF7

#8E8DF7 is a light, vivid blue. Relative luminance 0.315; OKLCH L 69.1% C 0.153 H 282.0°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#8E8DF7
RGBrgb(142, 141, 247)
HSLhsl(241, 87%, 76%)
HSVhsv(241, 43%, 97%)
CMYKcmyk(42.5%, 42.9%, 0%, 3.1%)
CIE-LABlab(62.94, 26.35, -53.03)
CIE-LCHlch(62.94, 59.22, 296.42°)
OKLaboklab(69.07% 0.032 -0.1499)
OKLCHoklch(69.07% 0.153 282)
XYZxyz(37.4638, 31.5143, 92.0865)
Luminance0.3152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8DF7 #F6F78D
analogous
#8DC1F7 #8E8DF7 #C38DF7
triadic
#8E8DF7 #F78E8D #8DF78E
tetradic
#8E8DF7 #F78DC1 #F6F78D #8DF7C3
square
#8E8DF7 #F78DC1 #F6F78D #8DF7C3
split-complementary
#8E8DF7 #F7C38D #C1F78D
monochromatic
#1D1BEF #5554F3 #8E8DF7 #C7C6FB #E3E2FD

Accessibility & contrast

On white

2.88
#8E8DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#8E8DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E8DF7
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8DF7#FFFFFF#000000##000000
##8E8DF71.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#659CFB
Deuteranopia (green-blind)
#6095F5
Tritanopia (blue-blind)
#6DA3B6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8e8df7;
/* rgb */ color: rgb(142, 141, 247);
/* oklch */ color: oklch(69.1% 0.153 282.0);
Tailwind
colors: {
  custom: {
    50: '#b4aefa',
    500: '#8e8df7',
    950: '#000000',
  },
}
SCSS
$custom: #8e8df7;
$custom-light: #b4aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8df7",
  "rgb": {
    "r": 142,
    "g": 141,
    "b": 247
  },
  "hsl": {
    "h": 240.566,
    "s": 86.885,
    "l": 76.078
  },
  "oklch": {
    "l": 0.69074,
    "c": 0.15326,
    "h": 282
  },
  "luminance": 0.31516
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E8DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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