#8A8CC2#8A8CC2

#8A8CC2 is a light, moderate blue. Relative luminance 0.281; OKLCH L 65.9% C 0.080 H 282.3°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#8A8CC2
RGBrgb(138, 140, 194)
HSLhsl(238, 31%, 65%)
HSVhsv(238, 29%, 76%)
CMYKcmyk(28.9%, 27.8%, 0%, 23.9%)
CIE-LABlab(59.94, 11.58, -28.24)
CIE-LCHlch(59.94, 30.52, 292.29°)
OKLaboklab(65.9% 0.0171 -0.0782)
OKLCHoklch(65.9% 0.08 282.3)
XYZxyz(29.5944, 28.0537, 54.8842)
Luminance0.2805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8CC2 #C2C08A
analogous
#8AA8C2 #8A8CC2 #A48AC2
triadic
#8A8CC2 #C28A8C #8CC28A
tetradic
#8A8CC2 #C28AA8 #C2C08A #8AC2A4
square
#8A8CC2 #C28AA8 #C2C08A #8AC2A4
split-complementary
#8A8CC2 #C2A48A #A8C28A
monochromatic
#484A8A #6264AD #8A8CC2 #B2B4D7 #DADBEC

Accessibility & contrast

On white

3.18
#8A8CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#8A8CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8CC2
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8CC2#FFFFFF#000000##000000
##8A8CC21.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D92C4
Deuteranopia (green-blind)
#7A8FC1
Tritanopia (blue-blind)
#7C969F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a8cc2;
/* rgb */ color: rgb(138, 140, 194);
/* oklch */ color: oklch(65.9% 0.080 282.3);
Tailwind
colors: {
  custom: {
    50: '#adadd4',
    500: '#8a8cc2',
    950: '#000000',
  },
}
SCSS
$custom: #8a8cc2;
$custom-light: #adadd4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8cc2",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 194
  },
  "hsl": {
    "h": 237.857,
    "s": 31.461,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65896,
    "c": 0.08001,
    "h": 282.3
  },
  "luminance": 0.28054
}

Semantic roles & 50–950 ramp

primary
#8A8CC2
secondary
#DDDDCA
accent
#A63BAA
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#101014
muted
#7F7F83

Preview Lab

Preview with #8A8CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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