#7E8CF5#7E8CF5

#7E8CF5 is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.6% C 0.155 H 275.7°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7E8CF5
RGBrgb(126, 140, 245)
HSLhsl(233, 86%, 73%)
HSVhsv(233, 49%, 96%)
CMYKcmyk(48.6%, 42.9%, 0%, 3.9%)
CIE-LABlab(61.47, 22.62, -54.34)
CIE-LCHlch(61.47, 58.86, 292.60°)
OKLaboklab(67.63% 0.0155 -0.1541)
OKLCHoklch(67.63% 0.155 275.7)
XYZxyz(34.4585, 29.7823, 90.3013)
Luminance0.2978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8CF5 #F5E77E
analogous
#7EC8F5 #7E8CF5 #AB7EF5
triadic
#7E8CF5 #F57E8C #8CF57E
tetradic
#7E8CF5 #F57EC8 #F5E77E #7EF5AB
square
#7E8CF5 #F57EC8 #F5E77E #7EF5AB
split-complementary
#7E8CF5 #F5AB7E #C8F57E
monochromatic
#122BE7 #4559F1 #7E8CF5 #B7BFF9 #E3E6FD

Accessibility & contrast

On white

3.02
#7E8CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#7E8CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8CF5
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8CF5#FFFFFF#000000##000000
##7E8CF51.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6199F9
Deuteranopia (green-blind)
#5790F3
Tritanopia (blue-blind)
#4FA2B5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7e8cf5;
/* rgb */ color: rgb(126, 140, 245);
/* oklch */ color: oklch(67.6% 0.155 275.7);
Tailwind
colors: {
  custom: {
    50: '#aaadf9',
    500: '#7e8cf5',
    950: '#000000',
  },
}
SCSS
$custom: #7e8cf5;
$custom-light: #aaadf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8cf5",
  "rgb": {
    "r": 126,
    "g": 140,
    "b": 245
  },
  "hsl": {
    "h": 232.941,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67634,
    "c": 0.15486,
    "h": 275.7
  },
  "luminance": 0.29784
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E8CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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