#8E8EE5#8E8EE5

#8E8EE5 is a light, vivid blue. Relative luminance 0.308; OKLCH L 68.3% C 0.127 H 282.5°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8E8EE5
RGBrgb(142, 142, 229)
HSLhsl(240, 63%, 73%)
HSVhsv(240, 38%, 90%)
CMYKcmyk(38%, 38%, 0%, 10.2%)
CIE-LABlab(62.30, 20.78, -44.12)
CIE-LCHlch(62.30, 48.76, 295.22°)
OKLaboklab(68.29% 0.0275 -0.1239)
OKLCHoklch(68.29% 0.127 282.5)
XYZxyz(34.9672, 30.7526, 78.2070)
Luminance0.3075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8EE5 #E5E58E
analogous
#8EB9E5 #8E8EE5 #B98EE5
triadic
#8E8EE5 #E58E8E #8EE58E
tetradic
#8E8EE5 #E58EB9 #E5E58E #8EE5B9
square
#8E8EE5 #E58EB9 #E5E58E #8EE5B9
split-complementary
#8E8EE5 #E5B98E #B9E58E
monochromatic
#2F2FCA #5C5CDA #8E8EE5 #C0C0F0 #E6E6F9

Accessibility & contrast

On white

2.94
#8E8EE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#8E8EE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E8EE5
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8EE5#FFFFFF#000000##000000
##8E8EE51.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#719AE8
Deuteranopia (green-blind)
#6D94E3
Tritanopia (blue-blind)
#759FAF
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8e8ee5;
/* rgb */ color: rgb(142, 142, 229);
/* oklch */ color: oklch(68.3% 0.127 282.5);
Tailwind
colors: {
  custom: {
    50: '#b2afed',
    500: '#8e8ee5',
    950: '#000000',
  },
}
SCSS
$custom: #8e8ee5;
$custom-light: #b2afed;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8ee5",
  "rgb": {
    "r": 142,
    "g": 142,
    "b": 229
  },
  "hsl": {
    "h": 240,
    "s": 62.59,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68295,
    "c": 0.1269,
    "h": 282.5
  },
  "luminance": 0.30754
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E8EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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