#8A8DF6#8A8DF6

#8A8DF6 is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.7% C 0.152 H 280.4°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8A8DF6
RGBrgb(138, 141, 246)
HSLhsl(238, 86%, 75%)
HSVhsv(238, 44%, 96%)
CMYKcmyk(43.9%, 42.7%, 0%, 3.5%)
CIE-LABlab(62.60, 25.10, -53.05)
CIE-LCHlch(62.60, 58.69, 295.32°)
OKLaboklab(68.72% 0.0274 -0.15)
OKLCHoklch(68.72% 0.153 280.4)
XYZxyz(36.6357, 31.1051, 91.2444)
Luminance0.3111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8DF6 #F6F38A
analogous
#8AC3F6 #8A8DF6 #BD8AF6
triadic
#8A8DF6 #F68A8D #8DF68A
tetradic
#8A8DF6 #F68AC3 #F6F38A #8AF6BD
square
#8A8DF6 #F68AC3 #F6F38A #8AF6BD
split-complementary
#8A8DF6 #F6BD8A #C3F68A
monochromatic
#181EED #5156F2 #8A8DF6 #C3C4FA #E3E3FD

Accessibility & contrast

On white

2.91
#8A8DF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#8A8DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8DF6
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8DF6#FFFFFF#000000##000000
##8A8DF61.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#659BFA
Deuteranopia (green-blind)
#5E94F4
Tritanopia (blue-blind)
#66A3B6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8a8df6;
/* rgb */ color: rgb(138, 141, 246);
/* oklch */ color: oklch(68.7% 0.152 280.4);
Tailwind
colors: {
  custom: {
    50: '#b1aefa',
    500: '#8a8df6',
    950: '#000000',
  },
}
SCSS
$custom: #8a8df6;
$custom-light: #b1aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8df6",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 246
  },
  "hsl": {
    "h": 238.333,
    "s": 85.714,
    "l": 75.294
  },
  "oklch": {
    "l": 0.68723,
    "c": 0.1525,
    "h": 280.4
  },
  "luminance": 0.31107
}

Semantic roles & 50–950 ramp

primary
#8A8DF6
secondary
#F5F4D6
accent
#DC03E2
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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