#8E8EEB#8E8EEB

#8E8EEB is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.6% C 0.135 H 282.2°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8E8EEB
RGBrgb(142, 142, 235)
HSLhsl(240, 70%, 74%)
HSVhsv(240, 40%, 92%)
CMYKcmyk(39.6%, 39.6%, 0%, 7.8%)
CIE-LABlab(62.59, 22.42, -46.98)
CIE-LCHlch(62.59, 52.06, 295.51°)
OKLaboklab(68.61% 0.0287 -0.1322)
OKLCHoklch(68.61% 0.135 282.2)
XYZxyz(35.8194, 31.0935, 82.6955)
Luminance0.3110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8EEB #EBEB8E
analogous
#8EBDEB #8E8EEB #BD8EEB
triadic
#8E8EEB #EB8E8E #8EEB8E
tetradic
#8E8EEB #EB8EBD #EBEB8E #8EEBBD
square
#8E8EEB #EB8EBD #EBEB8E #8EEBBD
split-complementary
#8E8EEB #EBBD8E #BDEB8E
monochromatic
#2626D8 #5A5AE2 #8E8EEB #C2C2F4 #E5E5FA

Accessibility & contrast

On white

2.91
#8E8EEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#8E8EEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E8EEB
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8EEB#FFFFFF#000000##000000
##8E8EEB1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BEF
Deuteranopia (green-blind)
#6A94E9
Tritanopia (blue-blind)
#73A0B1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8e8eeb;
/* rgb */ color: rgb(142, 142, 235);
/* oklch */ color: oklch(68.6% 0.135 282.2);
Tailwind
colors: {
  custom: {
    50: '#b3aff2',
    500: '#8e8eeb',
    950: '#000000',
  },
}
SCSS
$custom: #8e8eeb;
$custom-light: #b3aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8eeb",
  "rgb": {
    "r": 142,
    "g": 142,
    "b": 235
  },
  "hsl": {
    "h": 240,
    "s": 69.925,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68609,
    "c": 0.13529,
    "h": 282.2
  },
  "luminance": 0.31095
}

Semantic roles & 50–950 ramp

primary
#8E8EEB
secondary
#F2F2D9
accent
#D214D2
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #8E8EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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