#8A8EDE#8A8EDE

#8A8EDE is a light, moderate blue. Relative luminance 0.300; OKLCH L 67.6% C 0.118 H 280.6°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8A8EDE
RGBrgb(138, 142, 222)
HSLhsl(237, 56%, 71%)
HSVhsv(237, 38%, 87%)
CMYKcmyk(37.8%, 36%, 0%, 12.9%)
CIE-LABlab(61.67, 17.81, -41.23)
CIE-LCHlch(61.67, 44.91, 293.36°)
OKLaboklab(67.63% 0.0216 -0.1156)
OKLCHoklch(67.63% 0.118 280.6)
XYZxyz(33.3353, 30.0219, 73.1315)
Luminance0.3002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EDE #DEDA8A
analogous
#8AB8DE #8A8EDE #B08ADE
triadic
#8A8EDE #DE8A8E #8EDE8A
tetradic
#8A8EDE #DE8AB8 #DEDA8A #8ADEB0
square
#8A8EDE #DE8AB8 #DEDA8A #8ADEB0
split-complementary
#8A8EDE #DEB08A #B8DE8A
monochromatic
#343BB9 #5A60D1 #8A8EDE #BABCEB #E7E8F8

Accessibility & contrast

On white

3.00
#8A8EDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#8A8EDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8EDE
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EDE#FFFFFF#000000##000000
##8A8EDE1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7498E1
Deuteranopia (green-blind)
#6F92DC
Tritanopia (blue-blind)
#729EAC
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a8ede;
/* rgb */ color: rgb(138, 142, 222);
/* oklch */ color: oklch(67.6% 0.118 280.6);
Tailwind
colors: {
  custom: {
    50: '#afafe8',
    500: '#8a8ede',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ede;
$custom-light: #afafe8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ede",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 222
  },
  "hsl": {
    "h": 237.143,
    "s": 56,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67634,
    "c": 0.11758,
    "h": 280.6
  },
  "luminance": 0.30023
}

Semantic roles & 50–950 ramp

primary
#8A8EDE
secondary
#EDECD6
accent
#BC22C4
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A8EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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