#8A8EF7#8A8EF7

#8A8EF7 is a light, vivid blue. Relative luminance 0.315; OKLCH L 69.0% C 0.153 H 280.0°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8A8EF7
RGBrgb(138, 142, 247)
HSLhsl(238, 87%, 75%)
HSVhsv(238, 44%, 97%)
CMYKcmyk(44.1%, 42.5%, 0%, 3.1%)
CIE-LABlab(62.90, 24.81, -53.12)
CIE-LCHlch(62.90, 58.63, 295.03°)
OKLaboklab(68.97% 0.0264 -0.1502)
OKLCHoklch(68.97% 0.153 280)
XYZxyz(36.9377, 31.4629, 92.1043)
Luminance0.3146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EF7 #F7F38A
analogous
#8AC4F7 #8A8EF7 #BC8AF7
triadic
#8A8EF7 #F78A8E #8EF78A
tetradic
#8A8EF7 #F78AC4 #F7F38A #8AF7BC
square
#8A8EF7 #F78AC4 #F7F38A #8AF7BC
split-complementary
#8A8EF7 #F7BC8A #C4F78A
monochromatic
#171FEF #5157F3 #8A8EF7 #C3C5FB #E2E3FD

Accessibility & contrast

On white

2.88
#8A8EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#8A8EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8EF7
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EF7#FFFFFF#000000##000000
##8A8EF71.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#669CFB
Deuteranopia (green-blind)
#5F94F5
Tritanopia (blue-blind)
#66A4B7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8a8ef7;
/* rgb */ color: rgb(138, 142, 247);
/* oklch */ color: oklch(69.0% 0.153 280.0);
Tailwind
colors: {
  custom: {
    50: '#b1affa',
    500: '#8a8ef7',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ef7;
$custom-light: #b1affa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ef7",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 247
  },
  "hsl": {
    "h": 237.798,
    "s": 87.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.68969,
    "c": 0.15253,
    "h": 280
  },
  "luminance": 0.31465
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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