#7E8BF5#7E8BF5

#7E8BF5 is a light, vivid blue. Relative luminance 0.295; OKLCH L 67.4% C 0.156 H 276.1°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#7E8BF5
RGBrgb(126, 139, 245)
HSLhsl(233, 86%, 73%)
HSVhsv(233, 49%, 96%)
CMYKcmyk(48.6%, 43.3%, 0%, 3.9%)
CIE-LABlab(61.21, 23.21, -54.75)
CIE-LCHlch(61.21, 59.46, 292.97°)
OKLaboklab(67.44% 0.0166 -0.1553)
OKLCHoklch(67.44% 0.156 276.1)
XYZxyz(34.3131, 29.4914, 90.2528)
Luminance0.2949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8BF5 #F5E87E
analogous
#7EC7F5 #7E8BF5 #AC7EF5
triadic
#7E8BF5 #F57E8B #8BF57E
tetradic
#7E8BF5 #F57EC7 #F5E87E #7EF5AC
square
#7E8BF5 #F57EC7 #F5E87E #7EF5AC
split-complementary
#7E8BF5 #F5AC7E #C7F57E
monochromatic
#1229E7 #4558F1 #7E8BF5 #B7BEF9 #E3E5FD

Accessibility & contrast

On white

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

On black

6.90
#7E8BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8BF5
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8BF5#FFFFFF#000000##000000
##7E8BF51.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6099F9
Deuteranopia (green-blind)
#558FF3
Tritanopia (blue-blind)
#4FA1B4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7e8bf5;
/* rgb */ color: rgb(126, 139, 245);
/* oklch */ color: oklch(67.4% 0.156 276.1);
Tailwind
colors: {
  custom: {
    50: '#aaacf9',
    500: '#7e8bf5',
    950: '#000000',
  },
}
SCSS
$custom: #7e8bf5;
$custom-light: #aaacf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8bf5",
  "rgb": {
    "r": 126,
    "g": 139,
    "b": 245
  },
  "hsl": {
    "h": 233.445,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67441,
    "c": 0.15615,
    "h": 276.1
  },
  "luminance": 0.29493
}

Semantic roles & 50–950 ramp

primary
#7E8BF5
secondary
#F5F1D6
accent
#CA03E2
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E8BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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