#7E8DF3#7E8DF3

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

Color values

HEX#7E8DF3
RGBrgb(126, 141, 243)
HSLhsl(232, 83%, 72%)
HSVhsv(232, 48%, 95%)
CMYKcmyk(48.1%, 42%, 0%, 4.7%)
CIE-LABlab(61.61, 21.44, -53.01)
CIE-LCHlch(61.61, 57.18, 292.02°)
OKLaboklab(67.71% 0.014 -0.1502)
OKLCHoklch(67.71% 0.151 275.3)
XYZxyz(34.3017, 29.9544, 88.7510)
Luminance0.2996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8DF3 #F3E47E
analogous
#7EC7F3 #7E8DF3 #AA7EF3
triadic
#7E8DF3 #F37E8D #8DF37E
tetradic
#7E8DF3 #F37EC7 #F3E47E #7EF3AA
square
#7E8DF3 #F37EC7 #F3E47E #7EF3AA
split-complementary
#7E8DF3 #F3AA7E #C7F37E
monochromatic
#152FE2 #465CEE #7E8DF3 #B6BEF8 #E3E6FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E8DF3#FFFFFF#000000##000000
##7E8DF31.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)
#649AF7
Deuteranopia (green-blind)
#5A90F1
Tritanopia (blue-blind)
#51A3B4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7e8df3;
/* rgb */ color: rgb(126, 141, 243);
/* oklch */ color: oklch(67.7% 0.151 275.3);
Tailwind
colors: {
  custom: {
    50: '#a9aef7',
    500: '#7e8df3',
    950: '#000000',
  },
}
SCSS
$custom: #7e8df3;
$custom-light: #a9aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8df3",
  "rgb": {
    "r": 126,
    "g": 141,
    "b": 243
  },
  "hsl": {
    "h": 232.308,
    "s": 82.979,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67714,
    "c": 0.15081,
    "h": 275.3
  },
  "luminance": 0.29956
}

Semantic roles & 50–950 ramp

primary
#7E8DF3
secondary
#F4F1D7
accent
#C406DF
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E8DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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