#7E8DF8#7E8DF8

#7E8DF8 is a light, vivid blue. Relative luminance 0.303; OKLCH L 68.0% C 0.158 H 275.4°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#7E8DF8
RGBrgb(126, 141, 248)
HSLhsl(233, 90%, 73%)
HSVhsv(233, 49%, 97%)
CMYKcmyk(49.2%, 43.1%, 0%, 2.7%)
CIE-LABlab(61.88, 22.93, -55.34)
CIE-LCHlch(61.88, 59.90, 292.51°)
OKLaboklab(68% 0.0148 -0.157)
OKLCHoklch(68% 0.158 275.4)
XYZxyz(35.0670, 30.2606, 92.7818)
Luminance0.3026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8DF8 #F8E97E
analogous
#7ECAF8 #7E8DF8 #AC7EF8
triadic
#7E8DF8 #F87E8D #8DF87E
tetradic
#7E8DF8 #F87ECA #F8E97E #7EF8AC
square
#7E8DF8 #F87ECA #F8E97E #7EF8AC
split-complementary
#7E8DF8 #F8AC7E #CAF87E
monochromatic
#0D29EF #445AF5 #7E8DF8 #B8C0FB #E2E5FD

Accessibility & contrast

On white

2.98
#7E8DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#7E8DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E8DF8
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8DF8#FFFFFF#000000##000000
##7E8DF81.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#619BFC
Deuteranopia (green-blind)
#5591F6
Tritanopia (blue-blind)
#4DA4B6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7e8df8;
/* rgb */ color: rgb(126, 141, 248);
/* oklch */ color: oklch(68.0% 0.158 275.4);
Tailwind
colors: {
  custom: {
    50: '#aaaefb',
    500: '#7e8df8',
    950: '#000000',
  },
}
SCSS
$custom: #7e8df8;
$custom-light: #aaaefb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8df8",
  "rgb": {
    "r": 126,
    "g": 141,
    "b": 248
  },
  "hsl": {
    "h": 232.623,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68001,
    "c": 0.15768,
    "h": 275.4
  },
  "luminance": 0.30263
}

Semantic roles & 50–950 ramp

primary
#7E8DF8
secondary
#F6F2D5
accent
#C900E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E8DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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