#8E8AEE#8E8AEE

#8E8AEE is a light, vivid blue. Relative luminance 0.301; OKLCH L 68.0% C 0.145 H 283.7°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8E8AEE
RGBrgb(142, 138, 238)
HSLhsl(242, 75%, 74%)
HSVhsv(242, 42%, 93%)
CMYKcmyk(40.3%, 42%, 0%, 6.7%)
CIE-LABlab(61.74, 25.58, -49.98)
CIE-LCHlch(61.74, 56.14, 297.10°)
OKLaboklab(68.01% 0.0342 -0.141)
OKLCHoklch(68.01% 0.145 283.7)
XYZxyz(35.6720, 30.0994, 84.8026)
Luminance0.3010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8AEE #EAEE8A
analogous
#8AB8EE #8E8AEE #C08AEE
triadic
#8E8AEE #EE8E8A #8AEE8E
tetradic
#8E8AEE #EE8AB8 #EAEE8A #8AEEC0
square
#8E8AEE #EE8AB8 #EAEE8A #8AEEC0
split-complementary
#8E8AEE #EEC08A #B8EE8A
monochromatic
#2820DD #5A55E6 #8E8AEE #C2BFF6 #E5E4FB

Accessibility & contrast

On white

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

On black

7.02
#8E8AEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E8AEE
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8AEE#FFFFFF#000000##000000
##8E8AEE1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6698F2
Deuteranopia (green-blind)
#6292EC
Tritanopia (blue-blind)
#729EB0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8e8aee;
/* rgb */ color: rgb(142, 138, 238);
/* oklch */ color: oklch(68.0% 0.145 283.7);
Tailwind
colors: {
  custom: {
    50: '#b3acf4',
    500: '#8e8aee',
    950: '#000000',
  },
}
SCSS
$custom: #8e8aee;
$custom-light: #b3acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8aee",
  "rgb": {
    "r": 142,
    "g": 138,
    "b": 238
  },
  "hsl": {
    "h": 242.4,
    "s": 74.627,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68013,
    "c": 0.14507,
    "h": 283.7
  },
  "luminance": 0.30101
}

Semantic roles & 50–950 ramp

primary
#8E8AEE
secondary
#F2F3D8
accent
#D70FCF
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #8E8AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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