#8A8FD5#8A8FD5

#8A8FD5 is a light, moderate blue. Relative luminance 0.299; OKLCH L 67.4% C 0.103 H 280.1°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8A8FD5
RGBrgb(138, 143, 213)
HSLhsl(236, 47%, 69%)
HSVhsv(236, 35%, 84%)
CMYKcmyk(35.2%, 32.9%, 0%, 16.5%)
CIE-LABlab(61.53, 14.80, -36.44)
CIE-LCHlch(61.53, 39.33, 292.10°)
OKLaboklab(67.39% 0.0181 -0.1017)
OKLCHoklch(67.39% 0.103 280.1)
XYZxyz(32.3106, 29.8512, 66.9973)
Luminance0.2985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FD5 #D5D08A
analogous
#8AB5D5 #8A8FD5 #AB8AD5
triadic
#8A8FD5 #D58A8F #8FD58A
tetradic
#8A8FD5 #D58AB5 #D5D08A #8AD5AB
square
#8A8FD5 #D58AB5 #D5D08A #8AD5AB
split-complementary
#8A8FD5 #D5AB8A #B5D58A
monochromatic
#3C44A8 #5D64C5 #8A8FD5 #B7BAE5 #E4E5F5

Accessibility & contrast

On white

3.01
#8A8FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#8A8FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8FD5
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FD5#FFFFFF#000000##000000
##8A8FD51.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7997D8
Deuteranopia (green-blind)
#7592D3
Tritanopia (blue-blind)
#759CA8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a8fd5;
/* rgb */ color: rgb(138, 143, 213);
/* oklch */ color: oklch(67.4% 0.103 280.1);
Tailwind
colors: {
  custom: {
    50: '#aeafe2',
    500: '#8a8fd5',
    950: '#000000',
  },
}
SCSS
$custom: #8a8fd5;
$custom-light: #aeafe2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8fd5",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 213
  },
  "hsl": {
    "h": 236,
    "s": 47.17,
    "l": 68.824
  },
  "oklch": {
    "l": 0.67387,
    "c": 0.10333,
    "h": 280.1
  },
  "luminance": 0.29852
}

Semantic roles & 50–950 ramp

primary
#8A8FD5
secondary
#E8E7D2
accent
#B12BBA
background
#FAFAFD
surface
#F5F4FB
border
#CFCED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #8A8FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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