#7E7FF8#7E7FF8

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

Color values

HEX#7E7FF8
RGBrgb(126, 127, 248)
HSLhsl(240, 90%, 73%)
HSVhsv(240, 49%, 97%)
CMYKcmyk(49.2%, 48.8%, 0%, 2.7%)
CIE-LABlab(58.41, 31.18, -60.89)
CIE-LCHlch(58.41, 68.40, 297.11°)
OKLaboklab(65.37% 0.0306 -0.1734)
OKLCHoklch(65.37% 0.176 280)
XYZxyz(33.1316, 26.3898, 92.1367)
Luminance0.2639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7FF8 #F8F77E
analogous
#7EBCF8 #7E7FF8 #BA7EF8
triadic
#7E7FF8 #F87E7F #7FF87E
tetradic
#7E7FF8 #F87EBC #F8F77E #7EF8BA
square
#7E7FF8 #F87EBC #F8F77E #7EF8BA
split-complementary
#7E7FF8 #F8BA7E #BCF87E
monochromatic
#0D0FEF #4445F5 #7E7FF8 #B8B9FB #E2E2FD

Accessibility & contrast

On white

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

On black

6.28
#7E7FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7FF8
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7FF8#FFFFFF#000000##000000
##7E7FF81.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4791FC
Deuteranopia (green-blind)
#3C88F5
Tritanopia (blue-blind)
#4F99B0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e7ff8;
/* rgb */ color: rgb(126, 127, 248);
/* oklch */ color: oklch(65.4% 0.176 280.0);
Tailwind
colors: {
  custom: {
    50: '#aaa4fb',
    500: '#7e7ff8',
    950: '#000000',
  },
}
SCSS
$custom: #7e7ff8;
$custom-light: #aaa4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7ff8",
  "rgb": {
    "r": 126,
    "g": 127,
    "b": 248
  },
  "hsl": {
    "h": 239.508,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.65368,
    "c": 0.17604,
    "h": 280
  },
  "luminance": 0.26392
}

Semantic roles & 50–950 ramp

primary
#7E7FF8
secondary
#F6F5D5
accent
#E400E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #7E7FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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