#8A8FC5#8A8FC5

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

Color values

HEX#8A8FC5
RGBrgb(138, 143, 197)
HSLhsl(235, 34%, 66%)
HSVhsv(235, 30%, 77%)
CMYKcmyk(29.9%, 27.4%, 0%, 22.7%)
CIE-LABlab(60.85, 10.61, -28.52)
CIE-LCHlch(60.85, 30.43, 290.40°)
OKLaboklab(66.64% 0.0138 -0.079)
OKLCHoklch(66.64% 0.08 279.9)
XYZxyz(30.3790, 29.0786, 56.8246)
Luminance0.2908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FC5 #C5C08A
analogous
#8AACC5 #8A8FC5 #A28AC5
triadic
#8A8FC5 #C58A8F #8FC58A
tetradic
#8A8FC5 #C58AAC #C5C08A #8AC5A2
square
#8A8FC5 #C58AAC #C5C08A #8AC5A2
split-complementary
#8A8FC5 #C5A28A #ACC58A
monochromatic
#464D8E #6168B1 #8A8FC5 #B3B6D9 #DCDDEE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8FC5#FFFFFF#000000##000000
##8A8FC51.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)
#7F95C7
Deuteranopia (green-blind)
#7C91C4
Tritanopia (blue-blind)
#7B99A2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a8fc5;
/* rgb */ color: rgb(138, 143, 197);
/* oklch */ color: oklch(66.6% 0.080 279.9);
Tailwind
colors: {
  custom: {
    50: '#adafd6',
    500: '#8a8fc5',
    950: '#000000',
  },
}
SCSS
$custom: #8a8fc5;
$custom-light: #adafd6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8fc5",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 197
  },
  "hsl": {
    "h": 234.915,
    "s": 33.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.66643,
    "c": 0.08017,
    "h": 279.9
  },
  "luminance": 0.29079
}

Semantic roles & 50–950 ramp

primary
#8A8FC5
secondary
#DFDECC
accent
#A339AD
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#101014
muted
#7F7F83

Preview Lab

Preview with #8A8FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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