#7E7EFB#7E7EFB

#7E7EFB is a light, vivid blue. Relative luminance 0.263; OKLCH L 65.4% C 0.181 H 280.1°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#7E7EFB
RGBrgb(126, 126, 251)
HSLhsl(240, 94%, 74%)
HSVhsv(240, 50%, 98%)
CMYKcmyk(49.8%, 49.8%, 0%, 1.6%)
CIE-LABlab(58.34, 32.66, -62.65)
CIE-LCHlch(58.34, 70.65, 297.53°)
OKLaboklab(65.38% 0.0319 -0.1785)
OKLCHoklch(65.38% 0.181 280.1)
XYZxyz(33.4723, 26.3205, 94.5647)
Luminance0.2632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7EFB #FBFB7E
analogous
#7EBDFB #7E7EFB #BD7EFB
triadic
#7E7EFB #FB7E7E #7EFB7E
tetradic
#7E7EFB #FB7EBD #FBFB7E #7EFBBD
square
#7E7EFB #FB7EBD #FBFB7E #7EFBBD
split-complementary
#7E7EFB #FBBD7E #BDFB7E
monochromatic
#0808F7 #4343F9 #7E7EFB #B9B9FD #E1E1FE

Accessibility & contrast

On white

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

On black

6.26
#7E7EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7EFB
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7EFB#FFFFFF#000000##000000
##7E7EFB1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4291FF
Deuteranopia (green-blind)
#3688F8
Tritanopia (blue-blind)
#4D99B1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e7efb;
/* rgb */ color: rgb(126, 126, 251);
/* oklch */ color: oklch(65.4% 0.181 280.1);
Tailwind
colors: {
  custom: {
    50: '#aba3fd',
    500: '#7e7efb',
    950: '#000000',
  },
}
SCSS
$custom: #7e7efb;
$custom-light: #aba3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7efb",
  "rgb": {
    "r": 126,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 240,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.65375,
    "c": 0.18138,
    "h": 280.1
  },
  "luminance": 0.26322
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E7EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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