#8E8EC2#8E8EC2

#8E8EC2 is a light, moderate blue. Relative luminance 0.290; OKLCH L 66.6% C 0.077 H 284.1°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8E8EC2
RGBrgb(142, 142, 194)
HSLhsl(240, 30%, 66%)
HSVhsv(240, 27%, 76%)
CMYKcmyk(26.8%, 26.8%, 0%, 23.9%)
CIE-LABlab(60.77, 11.63, -26.93)
CIE-LCHlch(60.77, 29.33, 293.36°)
OKLaboklab(66.62% 0.0187 -0.0744)
OKLCHoklch(66.62% 0.077 284.1)
XYZxyz(30.5634, 28.9912, 55.0141)
Luminance0.2899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8EC2 #C2C28E
analogous
#8EA8C2 #8E8EC2 #A88EC2
triadic
#8E8EC2 #C28E8E #8EC28E
tetradic
#8E8EC2 #C28EA8 #C2C28E #8EC2A8
square
#8E8EC2 #C28EA8 #C2C28E #8EC2A8
split-complementary
#8E8EC2 #C2A88E #A8C28E
monochromatic
#4B4B8B #6666AD #8E8EC2 #B6B6D7 #DDDDED

Accessibility & contrast

On white

3.09
#8E8EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#8E8EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8EC2
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8EC2#FFFFFF#000000##000000
##8E8EC21.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8094C4
Deuteranopia (green-blind)
#7E91C1
Tritanopia (blue-blind)
#8297A0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8e8ec2;
/* rgb */ color: rgb(142, 142, 194);
/* oklch */ color: oklch(66.6% 0.077 284.1);
Tailwind
colors: {
  custom: {
    50: '#b0afd4',
    500: '#8e8ec2',
    950: '#000000',
  },
}
SCSS
$custom: #8e8ec2;
$custom-light: #b0afd4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8ec2",
  "rgb": {
    "r": 142,
    "g": 142,
    "b": 194
  },
  "hsl": {
    "h": 240,
    "s": 29.885,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6662,
    "c": 0.07668,
    "h": 284.1
  },
  "luminance": 0.28992
}

Semantic roles & 50–950 ramp

primary
#8E8EC2
secondary
#DEDECD
accent
#A93DA9
background
#FAFAFD
surface
#F5F4FA
border
#CFCED3
text
#101014
muted
#7F7F83

Preview Lab

Preview with #8E8EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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