#8E8EFB#8E8EFB

#8E8EFB is a light, vivid blue. Relative luminance 0.321; OKLCH L 69.5% C 0.157 H 281.5°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8E8EFB
RGBrgb(142, 142, 251)
HSLhsl(240, 93%, 77%)
HSVhsv(240, 43%, 98%)
CMYKcmyk(43.4%, 43.4%, 0%, 1.6%)
CIE-LABlab(63.39, 26.89, -54.51)
CIE-LCHlch(63.39, 60.78, 296.26°)
OKLaboklab(69.49% 0.0314 -0.1542)
OKLCHoklch(69.49% 0.157 281.5)
XYZxyz(38.2358, 32.0601, 95.4216)
Luminance0.3206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8EFB #FBFB8E
analogous
#8EC5FB #8E8EFB #C58EFB
triadic
#8E8EFB #FB8E8E #8EFB8E
tetradic
#8E8EFB #FB8EC5 #FBFB8E #8EFBC5
square
#8E8EFB #FB8EC5 #FBFB8E #8EFBC5
split-complementary
#8E8EFB #FBC58E #C5FB8E
monochromatic
#1818F7 #5353F9 #8E8EFB #C9C9FD #E1E1FE

Accessibility & contrast

On white

2.83
#8E8EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#8E8EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E8EFB
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8EFB#FFFFFF#000000##000000
##8E8EFB1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#649DFF
Deuteranopia (green-blind)
#5E96F9
Tritanopia (blue-blind)
#6BA4B8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8e8efb;
/* rgb */ color: rgb(142, 142, 251);
/* oklch */ color: oklch(69.5% 0.157 281.5);
Tailwind
colors: {
  custom: {
    50: '#b4affd',
    500: '#8e8efb',
    950: '#000000',
  },
}
SCSS
$custom: #8e8efb;
$custom-light: #b4affd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8efb",
  "rgb": {
    "r": 142,
    "g": 142,
    "b": 251
  },
  "hsl": {
    "h": 240,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.69486,
    "c": 0.15736,
    "h": 281.5
  },
  "luminance": 0.32062
}

Semantic roles & 50–950 ramp

primary
#8E8EFB
secondary
#F6F6D5
accent
#E600E5
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #8E8EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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