#7E7EFF#7E7EFF

#7E7EFF is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.6% C 0.187 H 279.9°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7E7EFF
RGBrgb(126, 126, 255)
HSLhsl(240, 100%, 75%)
HSVhsv(240, 51%, 100%)
CMYKcmyk(50.6%, 50.6%, 0%, 0%)
CIE-LABlab(58.58, 33.85, -64.46)
CIE-LCHlch(58.58, 72.81, 297.71°)
OKLaboklab(65.63% 0.0322 -0.1839)
OKLCHoklch(65.63% 0.187 279.9)
XYZxyz(34.1095, 26.5754, 97.9206)
Luminance0.2658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7EFF #FFFF7E
analogous
#7EBFFF #7E7EFF #BF7EFF
triadic
#7E7EFF #FF7E7E #7EFF7E
tetradic
#7E7EFF #FF7EBF #FFFF7E #7EFFBF
square
#7E7EFF #FF7EBF #FFFF7E #7EFFBF
split-complementary
#7E7EFF #FFBF7E #BFFF7E
monochromatic
#0404FF #4141FF #7E7EFF #BBBBFF #E0E0FF

Accessibility & contrast

On white

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

On black

6.32
#7E7EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7EFF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7EFF#FFFFFF#000000##000000
##7E7EFF1.003.336.326.32
#FFFFFF3.331.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D92FF
Deuteranopia (green-blind)
#2F88FC
Tritanopia (blue-blind)
#499AB3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7e7eff;
/* rgb */ color: rgb(126, 126, 255);
/* oklch */ color: oklch(65.6% 0.187 279.9);
Tailwind
colors: {
  custom: {
    50: '#aba3ff',
    500: '#7e7eff',
    950: '#000000',
  },
}
SCSS
$custom: #7e7eff;
$custom-light: #aba3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7eff",
  "rgb": {
    "r": 126,
    "g": 126,
    "b": 255
  },
  "hsl": {
    "h": 240,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.65632,
    "c": 0.18669,
    "h": 279.9
  },
  "luminance": 0.26577
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E7EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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