#8A8ECD#8A8ECD

#8A8ECD is a light, moderate blue. Relative luminance 0.292; OKLCH L 66.8% C 0.093 H 280.8°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8A8ECD
RGBrgb(138, 142, 205)
HSLhsl(236, 40%, 67%)
HSVhsv(236, 33%, 80%)
CMYKcmyk(32.7%, 30.7%, 0%, 19.6%)
CIE-LABlab(60.92, 13.26, -32.91)
CIE-LCHlch(60.92, 35.48, 291.94°)
OKLaboklab(66.81% 0.0174 -0.0916)
OKLCHoklch(66.81% 0.093 280.8)
XYZxyz(31.1706, 29.1561, 61.7311)
Luminance0.2916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8ECD #CDC98A
analogous
#8AB0CD #8A8ECD #A88ACD
triadic
#8A8ECD #CD8A8E #8ECD8A
tetradic
#8A8ECD #CD8AB0 #CDC98A #8ACDA8
square
#8A8ECD #CD8AB0 #CDC98A #8ACDA8
split-complementary
#8A8ECD #CDA88A #B0CD8A
monochromatic
#42479B #5F65BB #8A8ECD #B5B7DF #E0E1F2

Accessibility & contrast

On white

3.07
#8A8ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#8A8ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8ECD
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8ECD#FFFFFF#000000##000000
##8A8ECD1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B95D0
Deuteranopia (green-blind)
#7891CB
Tritanopia (blue-blind)
#789AA5
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a8ecd;
/* rgb */ color: rgb(138, 142, 205);
/* oklch */ color: oklch(66.8% 0.093 280.8);
Tailwind
colors: {
  custom: {
    50: '#aeafdc',
    500: '#8a8ecd',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ecd;
$custom-light: #aeafdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ecd",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 205
  },
  "hsl": {
    "h": 236.418,
    "s": 40.12,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66805,
    "c": 0.09319,
    "h": 280.8
  },
  "luminance": 0.29157
}

Semantic roles & 50–950 ramp

primary
#8A8ECD
secondary
#E4E3CF
accent
#AB32B3
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #8A8ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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