#7E8CF8#7E8CF8

#7E8CF8 is a light, vivid blue. Relative luminance 0.300; OKLCH L 67.8% C 0.159 H 275.7°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#7E8CF8
RGBrgb(126, 140, 248)
HSLhsl(233, 90%, 73%)
HSVhsv(233, 49%, 97%)
CMYKcmyk(49.2%, 43.5%, 0%, 2.7%)
CIE-LABlab(61.63, 23.52, -55.74)
CIE-LCHlch(61.63, 60.50, 292.87°)
OKLaboklab(67.81% 0.0159 -0.1582)
OKLCHoklch(67.81% 0.159 275.7)
XYZxyz(34.9202, 29.9670, 92.7329)
Luminance0.2997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8CF8 #F8EA7E
analogous
#7EC9F8 #7E8CF8 #AD7EF8
triadic
#7E8CF8 #F87E8C #8CF87E
tetradic
#7E8CF8 #F87EC9 #F8EA7E #7EF8AD
square
#7E8CF8 #F87EC9 #F8EA7E #7EF8AD
split-complementary
#7E8CF8 #F8AD7E #C9F87E
monochromatic
#0D27EF #4458F5 #7E8CF8 #B8C0FB #E2E5FD

Accessibility & contrast

On white

3.00
#7E8CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#7E8CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8CF8
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8CF8#FFFFFF#000000##000000
##7E8CF81.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9AFC
Deuteranopia (green-blind)
#5490F6
Tritanopia (blue-blind)
#4DA3B6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7e8cf8;
/* rgb */ color: rgb(126, 140, 248);
/* oklch */ color: oklch(67.8% 0.159 275.7);
Tailwind
colors: {
  custom: {
    50: '#aaadfb',
    500: '#7e8cf8',
    950: '#000000',
  },
}
SCSS
$custom: #7e8cf8;
$custom-light: #aaadfb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8cf8",
  "rgb": {
    "r": 126,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 233.115,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67808,
    "c": 0.15898,
    "h": 275.7
  },
  "luminance": 0.29969
}

Semantic roles & 50–950 ramp

primary
#7E8CF8
secondary
#F6F2D5
accent
#CB00E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111017
muted
#807F85

Preview Lab

Preview with #7E8CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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