#8A8FC6#8A8FC6

#8A8FC6 is a light, moderate blue. Relative luminance 0.291; OKLCH L 66.7% C 0.082 H 279.9°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#8A8FC6
RGBrgb(138, 143, 198)
HSLhsl(235, 34%, 66%)
HSVhsv(235, 30%, 78%)
CMYKcmyk(30.3%, 27.8%, 0%, 22.4%)
CIE-LABlab(60.89, 10.86, -29.02)
CIE-LCHlch(60.89, 30.99, 290.52°)
OKLaboklab(66.69% 0.0141 -0.0804)
OKLCHoklch(66.69% 0.082 279.9)
XYZxyz(30.4940, 29.1245, 57.4301)
Luminance0.2913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FC6 #C6C18A
analogous
#8AADC6 #8A8FC6 #A38AC6
triadic
#8A8FC6 #C68A8F #8FC68A
tetradic
#8A8FC6 #C68AAD #C6C18A #8AC6A3
square
#8A8FC6 #C68AAD #C6C18A #8AC6A3
split-complementary
#8A8FC6 #C6A38A #ADC68A
monochromatic
#464C90 #6168B2 #8A8FC6 #B3B6DA #DCDEEE

Accessibility & contrast

On white

3.08
#8A8FC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#8A8FC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8FC6
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FC6#FFFFFF#000000##000000
##8A8FC61.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F95C8
Deuteranopia (green-blind)
#7C91C5
Tritanopia (blue-blind)
#7B99A2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a8fc6;
/* rgb */ color: rgb(138, 143, 198);
/* oklch */ color: oklch(66.7% 0.082 279.9);
Tailwind
colors: {
  custom: {
    50: '#adafd7',
    500: '#8a8fc6',
    950: '#000000',
  },
}
SCSS
$custom: #8a8fc6;
$custom-light: #adafd7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8fc6",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 198
  },
  "hsl": {
    "h": 235,
    "s": 34.483,
    "l": 65.882
  },
  "oklch": {
    "l": 0.66688,
    "c": 0.08163,
    "h": 279.9
  },
  "luminance": 0.29125
}

Semantic roles & 50–950 ramp

primary
#8A8FC6
secondary
#E0DECC
accent
#A438AD
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#101014
muted
#7F7F83

Preview Lab

Preview with #8A8FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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