#8A8FD8#8A8FD8

#8A8FD8 is a light, moderate blue. Relative luminance 0.300; OKLCH L 67.5% C 0.108 H 280.1°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8A8FD8
RGBrgb(138, 143, 216)
HSLhsl(236, 50%, 69%)
HSVhsv(236, 36%, 85%)
CMYKcmyk(36.1%, 33.8%, 0%, 15.3%)
CIE-LABlab(61.66, 15.60, -37.91)
CIE-LCHlch(61.66, 41.00, 292.37°)
OKLaboklab(67.53% 0.0189 -0.106)
OKLCHoklch(67.53% 0.108 280.1)
XYZxyz(32.6948, 30.0049, 69.0213)
Luminance0.3001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FD8 #D8D38A
analogous
#8AB6D8 #8A8FD8 #AC8AD8
triadic
#8A8FD8 #D88A8F #8FD88A
tetradic
#8A8FD8 #D88AB6 #D8D38A #8AD8AC
square
#8A8FD8 #D88AB6 #D8D38A #8AD8AC
split-complementary
#8A8FD8 #D8AC8A #B6D88A
monochromatic
#3A41AE #5C63C9 #8A8FD8 #B8BBE7 #E6E7F7

Accessibility & contrast

On white

3.00
#8A8FD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#8A8FD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8FD8
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FD8#FFFFFF#000000##000000
##8A8FD81.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7898DB
Deuteranopia (green-blind)
#7492D6
Tritanopia (blue-blind)
#749DAA
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a8fd8;
/* rgb */ color: rgb(138, 143, 216);
/* oklch */ color: oklch(67.5% 0.108 280.1);
Tailwind
colors: {
  custom: {
    50: '#aeafe4',
    500: '#8a8fd8',
    950: '#000000',
  },
}
SCSS
$custom: #8a8fd8;
$custom-light: #aeafe4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8fd8",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 216
  },
  "hsl": {
    "h": 236.154,
    "s": 50,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67533,
    "c": 0.10764,
    "h": 280.1
  },
  "luminance": 0.30006
}

Semantic roles & 50–950 ramp

primary
#8A8FD8
secondary
#EAE9D4
accent
#B428BD
background
#FAFAFE
surface
#F5F4FC
border
#CFCED5
text
#101015
muted
#7F7F84

Preview Lab

Preview with #8A8FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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