#8A8ECA#8A8ECA

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

Color values

HEX#8A8ECA
RGBrgb(138, 142, 202)
HSLhsl(236, 38%, 67%)
HSVhsv(236, 32%, 79%)
CMYKcmyk(31.7%, 29.7%, 0%, 20.8%)
CIE-LABlab(60.79, 12.47, -31.42)
CIE-LCHlch(60.79, 33.81, 291.65°)
OKLaboklab(66.67% 0.0166 -0.0873)
OKLCHoklch(66.67% 0.089 280.7)
XYZxyz(30.8120, 29.0126, 59.8422)
Luminance0.2901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8ECA #CAC68A
analogous
#8AAECA #8A8ECA #A68ACA
triadic
#8A8ECA #CA8A8E #8ECA8A
tetradic
#8A8ECA #CA8AAE #CAC68A #8ACAA6
square
#8A8ECA #CA8AAE #CAC68A #8ACAA6
split-complementary
#8A8ECA #CAA68A #AECA8A
monochromatic
#444996 #6065B7 #8A8ECA #B4B7DD #DEDFF0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8ECA#FFFFFF#000000##000000
##8A8ECA1.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)
#7C95CD
Deuteranopia (green-blind)
#7991C9
Tritanopia (blue-blind)
#7999A3
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a8eca;
/* rgb */ color: rgb(138, 142, 202);
/* oklch */ color: oklch(66.7% 0.089 280.7);
Tailwind
colors: {
  custom: {
    50: '#aeafda',
    500: '#8a8eca',
    950: '#000000',
  },
}
SCSS
$custom: #8a8eca;
$custom-light: #aeafda;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8eca",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 202
  },
  "hsl": {
    "h": 236.25,
    "s": 37.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66666,
    "c": 0.08884,
    "h": 280.7
  },
  "luminance": 0.29014
}

Semantic roles & 50–950 ramp

primary
#8A8ECA
secondary
#E2E1CE
accent
#A935B1
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#101015
muted
#7F7F83

Preview Lab

Preview with #8A8ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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