#8E8DF5#8E8DF5

#8E8DF5 is a light, vivid blue. Relative luminance 0.314; OKLCH L 69.0% C 0.151 H 282.1°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#8E8DF5
RGBrgb(142, 141, 245)
HSLhsl(241, 84%, 76%)
HSVhsv(241, 42%, 96%)
CMYKcmyk(42%, 42.4%, 0%, 3.9%)
CIE-LABlab(62.84, 25.78, -52.10)
CIE-LCHlch(62.84, 58.13, 296.33°)
OKLaboklab(68.96% 0.0317 -0.1471)
OKLCHoklch(68.96% 0.151 282.1)
XYZxyz(37.1568, 31.3915, 90.4699)
Luminance0.3139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8DF5 #F4F58D
analogous
#8DC0F5 #8E8DF5 #C28DF5
triadic
#8E8DF5 #F58E8D #8DF58E
tetradic
#8E8DF5 #F58DC0 #F4F58D #8DF5C2
square
#8E8DF5 #F58DC0 #F4F58D #8DF5C2
split-complementary
#8E8DF5 #F5C28D #C0F58D
monochromatic
#1E1CEB #5655F0 #8E8DF5 #C6C5FA #E3E3FD

Accessibility & contrast

On white

2.89
#8E8DF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#8E8DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E8DF5
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8DF5#FFFFFF#000000##000000
##8E8DF51.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#679CF9
Deuteranopia (green-blind)
#6194F3
Tritanopia (blue-blind)
#6EA2B5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8e8df5;
/* rgb */ color: rgb(142, 141, 245);
/* oklch */ color: oklch(69.0% 0.151 282.1);
Tailwind
colors: {
  custom: {
    50: '#b3aef9',
    500: '#8e8df5',
    950: '#000000',
  },
}
SCSS
$custom: #8e8df5;
$custom-light: #b3aef9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8df5",
  "rgb": {
    "r": 142,
    "g": 141,
    "b": 245
  },
  "hsl": {
    "h": 240.577,
    "s": 83.871,
    "l": 75.686
  },
  "oklch": {
    "l": 0.68963,
    "c": 0.15052,
    "h": 282.1
  },
  "luminance": 0.31393
}

Semantic roles & 50–950 ramp

primary
#8E8DF5
secondary
#F4F4D7
accent
#E005DE
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8E8DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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