#7C7EFE#7C7EFE

#7C7EFE is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.4% C 0.186 H 279.3°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7C7EFE
RGBrgb(124, 126, 254)
HSLhsl(239, 98%, 74%)
HSVhsv(239, 51%, 100%)
CMYKcmyk(51.2%, 50.4%, 0%, 0.4%)
CIE-LABlab(58.38, 33.14, -64.25)
CIE-LCHlch(58.38, 72.29, 297.29°)
OKLaboklab(65.43% 0.0299 -0.1833)
OKLCHoklch(65.43% 0.186 279.3)
XYZxyz(33.6569, 26.3605, 97.0613)
Luminance0.2636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7EFE #FEFC7C
analogous
#7CBFFE #7C7EFE #BB7CFE
triadic
#7C7EFE #FE7C7E #7EFE7C
tetradic
#7C7EFE #FE7CBF #FEFC7C #7CFEBB
square
#7C7EFE #FE7CBF #FEFC7C #7CFEBB
split-complementary
#7C7EFE #FEBB7C #BFFE7C
monochromatic
#0306FD #3F42FE #7C7EFE #B9BAFE #E1E1FF

Accessibility & contrast

On white

3.35
#7C7EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#7C7EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7EFE
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7EFE#FFFFFF#000000##000000
##7C7EFE1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D92FF
Deuteranopia (green-blind)
#2E87FB
Tritanopia (blue-blind)
#459AB2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7c7efe;
/* rgb */ color: rgb(124, 126, 254);
/* oklch */ color: oklch(65.4% 0.186 279.3);
Tailwind
colors: {
  custom: {
    50: '#aaa3ff',
    500: '#7c7efe',
    950: '#000000',
  },
}
SCSS
$custom: #7c7efe;
$custom-light: #aaa3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7efe",
  "rgb": {
    "r": 124,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 239.077,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.65425,
    "c": 0.18573,
    "h": 279.3
  },
  "luminance": 0.26363
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C7EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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