#8E8EE2#8E8EE2

#8E8EE2 is a light, vivid blue. Relative luminance 0.306; OKLCH L 68.1% C 0.123 H 282.7°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8E8EE2
RGBrgb(142, 142, 226)
HSLhsl(240, 59%, 72%)
HSVhsv(240, 37%, 89%)
CMYKcmyk(37.2%, 37.2%, 0%, 11.4%)
CIE-LABlab(62.16, 19.96, -42.67)
CIE-LCHlch(62.16, 47.11, 295.07°)
OKLaboklab(68.14% 0.0269 -0.1197)
OKLCHoklch(68.14% 0.123 282.7)
XYZxyz(34.5519, 30.5865, 76.0201)
Luminance0.3059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8EE2 #E2E28E
analogous
#8EB8E2 #8E8EE2 #B88EE2
triadic
#8E8EE2 #E28E8E #8EE28E
tetradic
#8E8EE2 #E28EB8 #E2E28E #8EE2B8
square
#8E8EE2 #E28EB8 #E2E28E #8EE2B8
split-complementary
#8E8EE2 #E2B88E #B8E28E
monochromatic
#3232C3 #5D5DD6 #8E8EE2 #BFBFEE #E7E7F9

Accessibility & contrast

On white

2.95
#8E8EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#8E8EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E8EE2
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8EE2#FFFFFF#000000##000000
##8E8EE21.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7399E5
Deuteranopia (green-blind)
#6F93E0
Tritanopia (blue-blind)
#779EAD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8e8ee2;
/* rgb */ color: rgb(142, 142, 226);
/* oklch */ color: oklch(68.1% 0.123 282.7);
Tailwind
colors: {
  custom: {
    50: '#b2afeb',
    500: '#8e8ee2',
    950: '#000000',
  },
}
SCSS
$custom: #8e8ee2;
$custom-light: #b2afeb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8ee2",
  "rgb": {
    "r": 142,
    "g": 142,
    "b": 226
  },
  "hsl": {
    "h": 240,
    "s": 59.155,
    "l": 72.157
  },
  "oklch": {
    "l": 0.6814,
    "c": 0.12267,
    "h": 282.7
  },
  "luminance": 0.30588
}

Semantic roles & 50–950 ramp

primary
#8E8EE2
secondary
#F0F0DB
accent
#C71FC7
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8E8EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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