#8B8EF7#8B8EF7

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

Color values

HEX#8B8EF7
RGBrgb(139, 142, 247)
HSLhsl(238, 87%, 76%)
HSVhsv(238, 44%, 97%)
CMYKcmyk(43.7%, 42.5%, 0%, 3.1%)
CIE-LABlab(62.97, 25.04, -53.00)
CIE-LCHlch(62.97, 58.62, 295.29°)
OKLaboklab(69.04% 0.0275 -0.1499)
OKLCHoklch(69.04% 0.152 280.4)
XYZxyz(37.1040, 31.5486, 92.1121)
Luminance0.3155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8EF7 #F7F48B
analogous
#8BC4F7 #8B8EF7 #BE8BF7
triadic
#8B8EF7 #F78B8E #8EF78B
tetradic
#8B8EF7 #F78BC4 #F7F48B #8BF7BE
square
#8B8EF7 #F78BC4 #F7F48B #8BF7BE
split-complementary
#8B8EF7 #F7BE8B #C4F78B
monochromatic
#181EEF #5256F3 #8B8EF7 #C4C6FB #E2E3FD

Accessibility & contrast

On white

2.87
#8B8EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#8B8EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8B8EF7
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8EF7#FFFFFF#000000##000000
##8B8EF71.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b8ef7;
/* rgb */ color: rgb(139, 142, 247);
/* oklch */ color: oklch(69.0% 0.152 280.4);
Tailwind
colors: {
  custom: {
    50: '#b2affa',
    500: '#8b8ef7',
    950: '#000000',
  },
}
SCSS
$custom: #8b8ef7;
$custom-light: #b2affa;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8ef7",
  "rgb": {
    "r": 139,
    "g": 142,
    "b": 247
  },
  "hsl": {
    "h": 238.333,
    "s": 87.097,
    "l": 75.686
  },
  "oklch": {
    "l": 0.69041,
    "c": 0.15236,
    "h": 280.4
  },
  "luminance": 0.3155
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B8EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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