#7E8DF5#7E8DF5

#7E8DF5 is a light, vivid blue. Relative luminance 0.301; OKLCH L 67.8% C 0.154 H 275.3°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7E8DF5
RGBrgb(126, 141, 245)
HSLhsl(232, 86%, 73%)
HSVhsv(232, 49%, 96%)
CMYKcmyk(48.6%, 42.4%, 0%, 3.9%)
CIE-LABlab(61.72, 22.03, -53.94)
CIE-LCHlch(61.72, 58.27, 292.22°)
OKLaboklab(67.83% 0.0143 -0.1529)
OKLCHoklch(67.83% 0.154 275.3)
XYZxyz(34.6053, 30.0759, 90.3503)
Luminance0.3008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8DF5 #F5E67E
analogous
#7EC8F5 #7E8DF5 #AA7EF5
triadic
#7E8DF5 #F57E8D #8DF57E
tetradic
#7E8DF5 #F57EC8 #F5E67E #7EF5AA
square
#7E8DF5 #F57EC8 #F5E67E #7EF5AA
split-complementary
#7E8DF5 #F5AA7E #C8F57E
monochromatic
#122DE7 #455BF1 #7E8DF5 #B7BFF9 #E3E6FD

Accessibility & contrast

On white

2.99
#7E8DF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#7E8DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E8DF5
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8DF5#FFFFFF#000000##000000
##7E8DF51.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#639AF9
Deuteranopia (green-blind)
#5890F3
Tritanopia (blue-blind)
#4FA3B5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7e8df5;
/* rgb */ color: rgb(126, 141, 245);
/* oklch */ color: oklch(67.8% 0.154 275.3);
Tailwind
colors: {
  custom: {
    50: '#aaaef9',
    500: '#7e8df5',
    950: '#000000',
  },
}
SCSS
$custom: #7e8df5;
$custom-light: #aaaef9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8df5",
  "rgb": {
    "r": 126,
    "g": 141,
    "b": 245
  },
  "hsl": {
    "h": 232.437,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67828,
    "c": 0.15357,
    "h": 275.3
  },
  "luminance": 0.30078
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E8DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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