#8A8FD2#8A8FD2

#8A8FD2 is a light, moderate blue. Relative luminance 0.297; OKLCH L 67.2% C 0.099 H 280.1°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8A8FD2
RGBrgb(138, 143, 210)
HSLhsl(236, 44%, 68%)
HSVhsv(236, 34%, 82%)
CMYKcmyk(34.3%, 31.9%, 0%, 17.6%)
CIE-LABlab(61.39, 14.00, -34.97)
CIE-LCHlch(61.39, 37.67, 291.81°)
OKLaboklab(67.24% 0.0174 -0.0975)
OKLCHoklch(67.24% 0.099 280.1)
XYZxyz(31.9333, 29.7003, 65.0105)
Luminance0.2970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FD2 #D2CD8A
analogous
#8AB3D2 #8A8FD2 #A98AD2
triadic
#8A8FD2 #D28A8F #8FD28A
tetradic
#8A8FD2 #D28AB3 #D2CD8A #8AD2A9
square
#8A8FD2 #D28AB3 #D2CD8A #8AD2A9
split-complementary
#8A8FD2 #D2A98A #B3D28A
monochromatic
#3F46A3 #5E65C1 #8A8FD2 #B6B9E3 #E2E4F4

Accessibility & contrast

On white

3.03
#8A8FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#8A8FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8FD2
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FD2#FFFFFF#000000##000000
##8A8FD21.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A97D5
Deuteranopia (green-blind)
#7792D0
Tritanopia (blue-blind)
#769CA7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a8fd2;
/* rgb */ color: rgb(138, 143, 210);
/* oklch */ color: oklch(67.2% 0.099 280.1);
Tailwind
colors: {
  custom: {
    50: '#aeafe0',
    500: '#8a8fd2',
    950: '#000000',
  },
}
SCSS
$custom: #8a8fd2;
$custom-light: #aeafe0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8fd2",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 210
  },
  "hsl": {
    "h": 235.833,
    "s": 44.444,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67243,
    "c": 0.09901,
    "h": 280.1
  },
  "luminance": 0.29701
}

Semantic roles & 50–950 ramp

primary
#8A8FD2
secondary
#E7E5D1
accent
#AE2EB8
background
#FAFAFD
surface
#F5F4FB
border
#CFCED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #8A8FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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