#8E8FE7#8E8FE7

#8E8FE7 is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.6% C 0.128 H 282.0°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8E8FE7
RGBrgb(142, 143, 231)
HSLhsl(239, 65%, 73%)
HSVhsv(239, 39%, 91%)
CMYKcmyk(38.5%, 38.1%, 0%, 9.4%)
CIE-LABlab(62.65, 20.74, -44.68)
CIE-LCHlch(62.65, 49.26, 294.91°)
OKLaboklab(68.59% 0.0266 -0.1255)
OKLCHoklch(68.59% 0.128 282)
XYZxyz(35.3975, 31.1639, 79.7360)
Luminance0.3116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8FE7 #E7E68E
analogous
#8EBBE7 #8E8FE7 #B98EE7
triadic
#8E8FE7 #E78E8F #8FE78E
tetradic
#8E8FE7 #E78EBB #E7E68E #8EE7B9
square
#8E8FE7 #E78EBB #E7E68E #8EE7B9
split-complementary
#8E8FE7 #E7B98E #BBE78E
monochromatic
#2C2ECF #5C5DDC #8E8FE7 #C0C1F2 #E6E6FA

Accessibility & contrast

On white

2.90
#8E8FE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#8E8FE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E8FE7
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8FE7#FFFFFF#000000##000000
##8E8FE71.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#719BEA
Deuteranopia (green-blind)
#6D95E5
Tritanopia (blue-blind)
#74A0B0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8e8fe7;
/* rgb */ color: rgb(142, 143, 231);
/* oklch */ color: oklch(68.6% 0.128 282.0);
Tailwind
colors: {
  custom: {
    50: '#b2afef',
    500: '#8e8fe7',
    950: '#000000',
  },
}
SCSS
$custom: #8e8fe7;
$custom-light: #b2afef;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8fe7",
  "rgb": {
    "r": 142,
    "g": 143,
    "b": 231
  },
  "hsl": {
    "h": 239.326,
    "s": 64.964,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68592,
    "c": 0.12829,
    "h": 282
  },
  "luminance": 0.31165
}

Semantic roles & 50–950 ramp

primary
#8E8FE7
secondary
#F1F1DA
accent
#CB19CD
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8E8FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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