#8A8DCE#8A8DCE

#8A8DCE is a light, moderate blue. Relative luminance 0.289; OKLCH L 66.7% C 0.096 H 281.4°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#8A8DCE
RGBrgb(138, 141, 206)
HSLhsl(237, 41%, 67%)
HSVhsv(237, 33%, 81%)
CMYKcmyk(33%, 31.6%, 0%, 19.2%)
CIE-LABlab(60.70, 14.10, -33.81)
CIE-LCHlch(60.70, 36.63, 292.63°)
OKLaboklab(66.65% 0.019 -0.0941)
OKLCHoklch(66.65% 0.096 281.4)
XYZxyz(31.1436, 28.9083, 62.3195)
Luminance0.2891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8DCE #CECB8A
analogous
#8AAFCE #8A8DCE #A98ACE
triadic
#8A8DCE #CE8A8D #8DCE8A
tetradic
#8A8DCE #CE8AAF #CECB8A #8ACEA9
square
#8A8DCE #CE8AAF #CECB8A #8ACEA9
split-complementary
#8A8DCE #CEA98A #AFCE8A
monochromatic
#41459C #5F63BC #8A8DCE #B5B7E0 #E0E1F2

Accessibility & contrast

On white

3.10
#8A8DCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#8A8DCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8DCE
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8DCE#FFFFFF#000000##000000
##8A8DCE1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7995D1
Deuteranopia (green-blind)
#7690CC
Tritanopia (blue-blind)
#7899A4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a8dce;
/* rgb */ color: rgb(138, 141, 206);
/* oklch */ color: oklch(66.7% 0.096 281.4);
Tailwind
colors: {
  custom: {
    50: '#aeaedd',
    500: '#8a8dce',
    950: '#000000',
  },
}
SCSS
$custom: #8a8dce;
$custom-light: #aeaedd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8dce",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 206
  },
  "hsl": {
    "h": 237.353,
    "s": 40.964,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66651,
    "c": 0.09604,
    "h": 281.4
  },
  "luminance": 0.28909
}

Semantic roles & 50–950 ramp

primary
#8A8DCE
secondary
#E5E4CF
accent
#AE31B4
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #8A8DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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