#8A8DCA#8A8DCA

#8A8DCA is a light, moderate blue. Relative luminance 0.287; OKLCH L 66.5% C 0.090 H 281.5°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8A8DCA
RGBrgb(138, 141, 202)
HSLhsl(237, 38%, 67%)
HSVhsv(237, 32%, 79%)
CMYKcmyk(31.7%, 30.2%, 0%, 20.8%)
CIE-LABlab(60.53, 13.05, -31.83)
CIE-LCHlch(60.53, 34.40, 292.30°)
OKLaboklab(66.46% 0.0179 -0.0884)
OKLCHoklch(66.46% 0.09 281.5)
XYZxyz(30.6639, 28.7164, 59.7929)
Luminance0.2872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8DCA #CAC78A
analogous
#8AADCA #8A8DCA #A78ACA
triadic
#8A8DCA #CA8A8D #8DCA8A
tetradic
#8A8DCA #CA8AAD #CAC78A #8ACAA7
square
#8A8DCA #CA8AAD #CAC78A #8ACAA7
split-complementary
#8A8DCA #CAA78A #ADCA8A
monochromatic
#444896 #6064B7 #8A8DCA #B4B6DD #DEDFF0

Accessibility & contrast

On white

3.11
#8A8DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#8A8DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8DCA
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8DCA#FFFFFF#000000##000000
##8A8DCA1.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B94CD
Deuteranopia (green-blind)
#7890C8
Tritanopia (blue-blind)
#7A98A3
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a8dca;
/* rgb */ color: rgb(138, 141, 202);
/* oklch */ color: oklch(66.5% 0.090 281.5);
Tailwind
colors: {
  custom: {
    50: '#aeaeda',
    500: '#8a8dca',
    950: '#000000',
  },
}
SCSS
$custom: #8a8dca;
$custom-light: #aeaeda;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8dca",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 202
  },
  "hsl": {
    "h": 237.187,
    "s": 37.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66463,
    "c": 0.09025,
    "h": 281.5
  },
  "luminance": 0.28717
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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