#8A8DF7#8A8DF7

#8A8DF7 is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.8% C 0.154 H 280.3°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8A8DF7
RGBrgb(138, 141, 247)
HSLhsl(238, 87%, 75%)
HSVhsv(238, 44%, 97%)
CMYKcmyk(44.1%, 42.9%, 0%, 3.1%)
CIE-LABlab(62.65, 25.39, -53.51)
CIE-LCHlch(62.65, 59.23, 295.38°)
OKLaboklab(68.78% 0.0276 -0.1514)
OKLCHoklch(68.78% 0.154 280.3)
XYZxyz(36.7896, 31.1667, 92.0549)
Luminance0.3117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8DF7 #F7F48A
analogous
#8AC3F7 #8A8DF7 #BE8AF7
triadic
#8A8DF7 #F78A8D #8DF78A
tetradic
#8A8DF7 #F78AC3 #F7F48A #8AF7BE
square
#8A8DF7 #F78AC3 #F7F48A #8AF7BE
split-complementary
#8A8DF7 #F7BE8A #C3F78A
monochromatic
#171DEF #5155F3 #8A8DF7 #C3C5FB #E2E3FD

Accessibility & contrast

On white

2.90
#8A8DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#8A8DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8DF7
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8DF7#FFFFFF#000000##000000
##8A8DF71.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFB
Deuteranopia (green-blind)
#5D94F5
Tritanopia (blue-blind)
#66A3B6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8a8df7;
/* rgb */ color: rgb(138, 141, 247);
/* oklch */ color: oklch(68.8% 0.154 280.3);
Tailwind
colors: {
  custom: {
    50: '#b1aefa',
    500: '#8a8df7',
    950: '#000000',
  },
}
SCSS
$custom: #8a8df7;
$custom-light: #b1aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8df7",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 247
  },
  "hsl": {
    "h": 238.349,
    "s": 87.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.6878,
    "c": 0.15388,
    "h": 280.3
  },
  "luminance": 0.31168
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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