#8E7EF8#8E7EF8

#8E7EF8 is a light, vivid blue. Relative luminance 0.275; OKLCH L 66.4% C 0.175 H 286.6°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#8E7EF8
RGBrgb(142, 126, 248)
HSLhsl(248, 90%, 73%)
HSVhsv(248, 49%, 97%)
CMYKcmyk(42.7%, 49.2%, 0%, 2.7%)
CIE-LABlab(59.39, 35.32, -59.25)
CIE-LCHlch(59.39, 68.98, 300.80°)
OKLaboklab(66.41% 0.0501 -0.1681)
OKLCHoklch(66.41% 0.175 286.6)
XYZxyz(35.5546, 27.4484, 92.2135)
Luminance0.2745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7EF8 #E8F87E
analogous
#7EABF8 #8E7EF8 #CB7EF8
triadic
#8E7EF8 #F88E7E #7EF88E
tetradic
#8E7EF8 #F87EAB #E8F87E #7EF8CB
square
#8E7EF8 #F87EAB #E8F87E #7EF8CB
split-complementary
#8E7EF8 #F8CB7E #ABF87E
monochromatic
#2B0DEF #5B44F5 #8E7EF8 #C1B8FB #E6E2FD

Accessibility & contrast

On white

3.24
#8E7EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#8E7EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7EF8
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7EF8#FFFFFF#000000##000000
##8E7EF81.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A92FC
Deuteranopia (green-blind)
#488CF5
Tritanopia (blue-blind)
#6E97AF
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8e7ef8;
/* rgb */ color: rgb(142, 126, 248);
/* oklch */ color: oklch(66.4% 0.175 286.6);
Tailwind
colors: {
  custom: {
    50: '#b4a3fb',
    500: '#8e7ef8',
    950: '#000000',
  },
}
SCSS
$custom: #8e7ef8;
$custom-light: #b4a3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7ef8",
  "rgb": {
    "r": 142,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 247.869,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.6641,
    "c": 0.17546,
    "h": 286.6
  },
  "luminance": 0.2745
}

Semantic roles & 50–950 ramp

primary
#8E7EF8
secondary
#F1F6D5
accent
#E600C7
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #8E7EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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