#7D7EFE#7D7EFE

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

Color values

HEX#7D7EFE
RGBrgb(125, 126, 254)
HSLhsl(240, 98%, 74%)
HSVhsv(240, 51%, 100%)
CMYKcmyk(50.8%, 50.4%, 0%, 0.4%)
CIE-LABlab(58.45, 33.35, -64.13)
CIE-LCHlch(58.45, 72.28, 297.48°)
OKLaboklab(65.5% 0.0311 -0.1829)
OKLCHoklch(65.5% 0.186 279.6)
XYZxyz(33.8022, 26.4355, 97.0681)
Luminance0.2644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7EFE #FEFD7D
analogous
#7DBFFE #7D7EFE #BD7DFE
triadic
#7D7EFE #FE7D7E #7EFE7D
tetradic
#7D7EFE #FE7DBF #FEFD7D #7DFEBD
square
#7D7EFE #FE7DBF #FEFD7D #7DFEBD
split-complementary
#7D7EFE #FEBD7D #BFFE7D
monochromatic
#0405FD #4042FE #7D7EFE #BABAFE #E1E1FF

Accessibility & contrast

On white

3.34
#7D7EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#7D7EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7EFE
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7EFE#FFFFFF#000000##000000
##7D7EFE1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E92FF
Deuteranopia (green-blind)
#2F88FB
Tritanopia (blue-blind)
#489AB2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7d7efe;
/* rgb */ color: rgb(125, 126, 254);
/* oklch */ color: oklch(65.5% 0.186 279.6);
Tailwind
colors: {
  custom: {
    50: '#aba3ff',
    500: '#7d7efe',
    950: '#000000',
  },
}
SCSS
$custom: #7d7efe;
$custom-light: #aba3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7efe",
  "rgb": {
    "r": 125,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 239.535,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.65496,
    "c": 0.18555,
    "h": 279.6
  },
  "luminance": 0.26437
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D7EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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