#7E8FF5#7E8FF5

#7E8FF5 is a light, vivid blue. Relative luminance 0.307; OKLCH L 68.2% C 0.151 H 274.6°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#7E8FF5
RGBrgb(126, 143, 245)
HSLhsl(231, 86%, 73%)
HSVhsv(231, 49%, 96%)
CMYKcmyk(48.6%, 41.6%, 0%, 3.9%)
CIE-LABlab(62.23, 20.86, -53.13)
CIE-LCHlch(62.23, 57.08, 291.43°)
OKLaboklab(68.22% 0.012 -0.1505)
OKLCHoklch(68.22% 0.151 274.6)
XYZxyz(34.9029, 30.6710, 90.4494)
Luminance0.3067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8FF5 #F5E47E
analogous
#7ECAF5 #7E8FF5 #A97EF5
triadic
#7E8FF5 #F57E8F #8FF57E
tetradic
#7E8FF5 #F57ECA #F5E47E #7EF5A9
square
#7E8FF5 #F57ECA #F5E47E #7EF5A9
split-complementary
#7E8FF5 #F5A97E #CAF57E
monochromatic
#1230E7 #455EF1 #7E8FF5 #B7C0F9 #E3E6FD

Accessibility & contrast

On white

2.94
#7E8FF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#7E8FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E8FF5
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8FF5#FFFFFF#000000##000000
##7E8FF51.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#669CF9
Deuteranopia (green-blind)
#5B92F3
Tritanopia (blue-blind)
#4FA5B6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7e8ff5;
/* rgb */ color: rgb(126, 143, 245);
/* oklch */ color: oklch(68.2% 0.151 274.6);
Tailwind
colors: {
  custom: {
    50: '#aaaff9',
    500: '#7e8ff5',
    950: '#000000',
  },
}
SCSS
$custom: #7e8ff5;
$custom-light: #aaaff9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8ff5",
  "rgb": {
    "r": 126,
    "g": 143,
    "b": 245
  },
  "hsl": {
    "h": 231.429,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68217,
    "c": 0.15099,
    "h": 274.6
  },
  "luminance": 0.30673
}

Semantic roles & 50–950 ramp

primary
#7E8FF5
secondary
#F5F0D6
accent
#C203E2
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E8FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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