#7E8BF6#7E8BF6

#7E8BF6 is a light, vivid blue. Relative luminance 0.296; OKLCH L 67.5% C 0.158 H 276.1°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#7E8BF6
RGBrgb(126, 139, 246)
HSLhsl(234, 87%, 73%)
HSVhsv(234, 49%, 96%)
CMYKcmyk(48.8%, 43.5%, 0%, 3.5%)
CIE-LABlab(61.27, 23.51, -55.21)
CIE-LCHlch(61.27, 60.01, 293.06°)
OKLaboklab(67.5% 0.0168 -0.1566)
OKLCHoklch(67.5% 0.158 276.1)
XYZxyz(34.4662, 29.5527, 91.0590)
Luminance0.2955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8BF6 #F6E97E
analogous
#7EC7F6 #7E8BF6 #AD7EF6
triadic
#7E8BF6 #F67E8B #8BF67E
tetradic
#7E8BF6 #F67EC7 #F6E97E #7EF6AD
square
#7E8BF6 #F67EC7 #F6E97E #7EF6AD
split-complementary
#7E8BF6 #F6AD7E #C7F67E
monochromatic
#1028E9 #4558F2 #7E8BF6 #B7BEFA #E2E5FD

Accessibility & contrast

On white

3.04
#7E8BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#7E8BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8BF6
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8BF6#FFFFFF#000000##000000
##7E8BF61.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F99FA
Deuteranopia (green-blind)
#548FF4
Tritanopia (blue-blind)
#4FA2B5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7e8bf6;
/* rgb */ color: rgb(126, 139, 246);
/* oklch */ color: oklch(67.5% 0.158 276.1);
Tailwind
colors: {
  custom: {
    50: '#aaacfa',
    500: '#7e8bf6',
    950: '#000000',
  },
}
SCSS
$custom: #7e8bf6;
$custom-light: #aaacfa;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8bf6",
  "rgb": {
    "r": 126,
    "g": 139,
    "b": 246
  },
  "hsl": {
    "h": 233.5,
    "s": 86.957,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67499,
    "c": 0.15753,
    "h": 276.1
  },
  "luminance": 0.29555
}

Semantic roles & 50–950 ramp

primary
#7E8BF6
secondary
#F5F2D6
accent
#CB02E4
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E8BF6

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

Preview Lab → · Contrast checker → · Palette generator →

#7E8BF6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva