#7E8FE2#7E8FE2

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

Color values

HEX#7E8FE2
RGBrgb(126, 143, 226)
HSLhsl(230, 63%, 69%)
HSVhsv(230, 44%, 89%)
CMYKcmyk(44.2%, 36.7%, 0%, 11.4%)
CIE-LABlab(61.28, 15.27, -44.13)
CIE-LCHlch(61.28, 46.70, 289.09°)
OKLaboklab(67.18% 0.0083 -0.1242)
OKLCHoklch(67.18% 0.125 273.8)
XYZxyz(32.1499, 29.5698, 75.9503)
Luminance0.2957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8FE2 #E2D17E
analogous
#7EC1E2 #7E8FE2 #9F7EE2
triadic
#7E8FE2 #E27E8F #8FE27E
tetradic
#7E8FE2 #E27EC1 #E2D17E #7EE29F
square
#7E8FE2 #E27EC1 #E2D17E #7EE29F
split-complementary
#7E8FE2 #E29F7E #C1E27E
monochromatic
#2A43BB #4C64D7 #7E8FE2 #B0BAED #E2E6F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E8FE2#FFFFFF#000000##000000
##7E8FE21.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)
#7198E5
Deuteranopia (green-blind)
#6890E0
Tritanopia (blue-blind)
#5BA0AE
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7e8fe2;
/* rgb */ color: rgb(126, 143, 226);
/* oklch */ color: oklch(67.2% 0.125 273.8);
Tailwind
colors: {
  custom: {
    50: '#a8afeb',
    500: '#7e8fe2',
    950: '#000000',
  },
}
SCSS
$custom: #7e8fe2;
$custom-light: #a8afeb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8fe2",
  "rgb": {
    "r": 126,
    "g": 143,
    "b": 226
  },
  "hsl": {
    "h": 229.8,
    "s": 63.291,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67181,
    "c": 0.12451,
    "h": 273.8
  },
  "luminance": 0.29572
}

Semantic roles & 50–950 ramp

primary
#7E8FE2
secondary
#EDE8CF
accent
#AD1ACB
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #7E8FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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