#8E8AEF#8E8AEF

#8E8AEF is a light, vivid blue. Relative luminance 0.302; OKLCH L 68.1% C 0.146 H 283.6°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8E8AEF
RGBrgb(142, 138, 239)
HSLhsl(242, 76%, 74%)
HSVhsv(242, 42%, 94%)
CMYKcmyk(40.6%, 42.3%, 0%, 6.3%)
CIE-LABlab(61.79, 25.85, -50.45)
CIE-LCHlch(61.79, 56.69, 297.13°)
OKLaboklab(68.07% 0.0344 -0.1423)
OKLCHoklch(68.07% 0.146 283.6)
XYZxyz(35.8193, 30.1583, 85.5785)
Luminance0.3016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8AEF #EBEF8A
analogous
#8AB9EF #8E8AEF #C18AEF
triadic
#8E8AEF #EF8E8A #8AEF8E
tetradic
#8E8AEF #EF8AB9 #EBEF8A #8AEFC1
square
#8E8AEF #EF8AB9 #EBEF8A #8AEFC1
split-complementary
#8E8AEF #EFC18A #B9EF8A
monochromatic
#261FE0 #5A54E8 #8E8AEF #C2C0F6 #E5E4FB

Accessibility & contrast

On white

2.99
#8E8AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#8E8AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E8AEF
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8AEF#FFFFFF#000000##000000
##8E8AEF1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F3
Deuteranopia (green-blind)
#6292ED
Tritanopia (blue-blind)
#719EB1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8e8aef;
/* rgb */ color: rgb(142, 138, 239);
/* oklch */ color: oklch(68.1% 0.146 283.6);
Tailwind
colors: {
  custom: {
    50: '#b3acf5',
    500: '#8e8aef',
    950: '#000000',
  },
}
SCSS
$custom: #8e8aef;
$custom-light: #b3acf5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8aef",
  "rgb": {
    "r": 142,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 242.376,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68068,
    "c": 0.14645,
    "h": 283.6
  },
  "luminance": 0.3016
}

Semantic roles & 50–950 ramp

primary
#8E8AEF
secondary
#F2F3D8
accent
#D80DD0
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#111017
muted
#807F85

Preview Lab

Preview with #8E8AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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