#7E8CF7#7E8CF7

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

Color values

HEX#7E8CF7
RGBrgb(126, 140, 247)
HSLhsl(233, 88%, 73%)
HSVhsv(233, 49%, 97%)
CMYKcmyk(49%, 43.3%, 0%, 3.1%)
CIE-LABlab(61.57, 23.22, -55.28)
CIE-LCHlch(61.57, 59.95, 292.78°)
OKLaboklab(67.75% 0.0158 -0.1568)
OKLCHoklch(67.75% 0.158 275.7)
XYZxyz(34.7655, 29.9051, 91.9180)
Luminance0.2991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8CF7 #F7E97E
analogous
#7EC8F7 #7E8CF7 #AC7EF7
triadic
#7E8CF7 #F77E8C #8CF77E
tetradic
#7E8CF7 #F77EC8 #F7E97E #7EF7AC
square
#7E8CF7 #F77EC8 #F7E97E #7EF7AC
split-complementary
#7E8CF7 #F7AC7E #C8F77E
monochromatic
#0F28EC #4459F3 #7E8CF7 #B8BFFB #E2E5FD

Accessibility & contrast

On white

3.01
#7E8CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#7E8CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8CF7
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8CF7#FFFFFF#000000##000000
##7E8CF71.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#609AFB
Deuteranopia (green-blind)
#5590F5
Tritanopia (blue-blind)
#4EA3B6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7e8cf7;
/* rgb */ color: rgb(126, 140, 247);
/* oklch */ color: oklch(67.8% 0.158 275.7);
Tailwind
colors: {
  custom: {
    50: '#aaadfa',
    500: '#7e8cf7',
    950: '#000000',
  },
}
SCSS
$custom: #7e8cf7;
$custom-light: #aaadfa;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8cf7",
  "rgb": {
    "r": 126,
    "g": 140,
    "b": 247
  },
  "hsl": {
    "h": 233.058,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.6775,
    "c": 0.1576,
    "h": 275.7
  },
  "luminance": 0.29907
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E8CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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