#8A8FC4#8A8FC4

#8A8FC4 is a light, moderate blue. Relative luminance 0.290; OKLCH L 66.6% C 0.079 H 279.9°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#8A8FC4
RGBrgb(138, 143, 196)
HSLhsl(235, 33%, 65%)
HSVhsv(235, 30%, 77%)
CMYKcmyk(29.6%, 27%, 0%, 23.1%)
CIE-LABlab(60.81, 10.35, -28.02)
CIE-LCHlch(60.81, 29.87, 290.27°)
OKLaboklab(66.6% 0.0135 -0.0775)
OKLCHoklch(66.6% 0.079 279.9)
XYZxyz(30.2648, 29.0329, 56.2232)
Luminance0.2903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FC4 #C4BF8A
analogous
#8AACC4 #8A8FC4 #A28AC4
triadic
#8A8FC4 #C48A8F #8FC48A
tetradic
#8A8FC4 #C48AAC #C4BF8A #8AC4A2
square
#8A8FC4 #C48AAC #C4BF8A #8AC4A2
split-complementary
#8A8FC4 #C4A28A #ACC48A
monochromatic
#474D8D #6168AF #8A8FC4 #B3B6D9 #DBDDED

Accessibility & contrast

On white

3.09
#8A8FC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#8A8FC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8FC4
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FC4#FFFFFF#000000##000000
##8A8FC41.003.096.816.81
#FFFFFF3.091.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8095C6
Deuteranopia (green-blind)
#7D91C3
Tritanopia (blue-blind)
#7B99A2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a8fc4;
/* rgb */ color: rgb(138, 143, 196);
/* oklch */ color: oklch(66.6% 0.079 279.9);
Tailwind
colors: {
  custom: {
    50: '#adafd6',
    500: '#8a8fc4',
    950: '#000000',
  },
}
SCSS
$custom: #8a8fc4;
$custom-light: #adafd6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8fc4",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 196
  },
  "hsl": {
    "h": 234.828,
    "s": 32.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.66599,
    "c": 0.07871,
    "h": 279.9
  },
  "luminance": 0.29034
}

Semantic roles & 50–950 ramp

primary
#8A8FC4
secondary
#DFDDCB
accent
#A23AAC
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#101014
muted
#7F7F83

Preview Lab

Preview with #8A8FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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