#7A7EF8#7A7EF8

#7A7EF8 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.9% C 0.178 H 278.8°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#7A7EF8
RGBrgb(122, 126, 248)
HSLhsl(238, 90%, 73%)
HSVhsv(238, 51%, 97%)
CMYKcmyk(50.8%, 49.2%, 0%, 2.7%)
CIE-LABlab(57.88, 30.92, -61.74)
CIE-LCHlch(57.88, 69.05, 296.60°)
OKLaboklab(64.9% 0.0272 -0.176)
OKLCHoklch(64.9% 0.178 278.8)
XYZxyz(32.4249, 25.8347, 92.0667)
Luminance0.2584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7EF8 #F8F47A
analogous
#7ABDF8 #7A7EF8 #B57AF8
triadic
#7A7EF8 #F87A7E #7EF87A
tetradic
#7A7EF8 #F87ABD #F8F47A #7AF8B5
square
#7A7EF8 #F87ABD #F8F47A #7AF8B5
split-complementary
#7A7EF8 #F8B57A #BDF87A
monochromatic
#0C13EB #4046F5 #7A7EF8 #B4B6FB #E2E3FD

Accessibility & contrast

On white

3.41
#7A7EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#7A7EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7EF8
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7EF8#FFFFFF#000000##000000
##7A7EF81.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4390FC
Deuteranopia (green-blind)
#3686F5
Tritanopia (blue-blind)
#4699AF
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7a7ef8;
/* rgb */ color: rgb(122, 126, 248);
/* oklch */ color: oklch(64.9% 0.178 278.8);
Tailwind
colors: {
  custom: {
    50: '#a8a3fb',
    500: '#7a7ef8',
    950: '#000000',
  },
}
SCSS
$custom: #7a7ef8;
$custom-light: #a8a3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7ef8",
  "rgb": {
    "r": 122,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 238.095,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.649,
    "c": 0.17809,
    "h": 278.8
  },
  "luminance": 0.25837
}

Semantic roles & 50–950 ramp

primary
#7A7EF8
secondary
#F6F5D5
accent
#DE00E6
background
#FAFAFF
surface
#F4F3FF
border
#CECDD7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7A7EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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