#7E7EFE#7E7EFE

#7E7EFE is a light, vivid blue. Relative luminance 0.265; OKLCH L 65.6% C 0.185 H 280.0°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#7E7EFE
RGBrgb(126, 126, 254)
HSLhsl(240, 98%, 75%)
HSVhsv(240, 50%, 100%)
CMYKcmyk(50.4%, 50.4%, 0%, 0.4%)
CIE-LABlab(58.52, 33.56, -64.01)
CIE-LCHlch(58.52, 72.27, 297.66°)
OKLaboklab(65.57% 0.0322 -0.1826)
OKLCHoklch(65.57% 0.185 280)
XYZxyz(33.9489, 26.5111, 97.0750)
Luminance0.2651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7EFE #FEFE7E
analogous
#7EBEFE #7E7EFE #BE7EFE
triadic
#7E7EFE #FE7E7E #7EFE7E
tetradic
#7E7EFE #FE7EBE #FEFE7E #7EFEBE
square
#7E7EFE #FE7EBE #FEFE7E #7EFEBE
split-complementary
#7E7EFE #FEBE7E #BEFE7E
monochromatic
#0505FD #4141FE #7E7EFE #BBBBFE #E1E1FF

Accessibility & contrast

On white

3.33
#7E7EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#7E7EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7EFE
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7EFE#FFFFFF#000000##000000
##7E7EFE1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E92FF
Deuteranopia (green-blind)
#3188FB
Tritanopia (blue-blind)
#4A9AB2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7e7efe;
/* rgb */ color: rgb(126, 126, 254);
/* oklch */ color: oklch(65.6% 0.185 280.0);
Tailwind
colors: {
  custom: {
    50: '#aba3ff',
    500: '#7e7efe',
    950: '#000000',
  },
}
SCSS
$custom: #7e7efe;
$custom-light: #aba3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7efe",
  "rgb": {
    "r": 126,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 240,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.65568,
    "c": 0.18537,
    "h": 280
  },
  "luminance": 0.26513
}

Semantic roles & 50–950 ramp

primary
#7E7EFE
secondary
#F7F7D4
accent
#E600E5
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F18
muted
#807F86

Preview Lab

Preview with #7E7EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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