#7E7AF4#7E7AF4

#7E7AF4 is a light, vivid blue. Relative luminance 0.249; OKLCH L 64.2% C 0.177 H 281.6°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7E7AF4
RGBrgb(126, 122, 244)
HSLhsl(242, 85%, 72%)
HSVhsv(242, 50%, 96%)
CMYKcmyk(48.4%, 50%, 0%, 4.3%)
CIE-LABlab(56.96, 32.93, -60.99)
CIE-LCHlch(56.96, 69.31, 298.37°)
OKLaboklab(64.21% 0.0358 -0.1737)
OKLCHoklch(64.21% 0.177 281.6)
XYZxyz(31.8879, 24.8847, 88.6934)
Luminance0.2489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7AF4 #F0F47A
analogous
#7AB3F4 #7E7AF4 #BB7AF4
triadic
#7E7AF4 #F47E7A #7AF47E
tetradic
#7E7AF4 #F47AB3 #F0F47A #7AF4BB
square
#7E7AF4 #F47AB3 #F0F47A #7AF4BB
split-complementary
#7E7AF4 #F4BB7A #B3F47A
monochromatic
#1913E1 #4741EF #7E7AF4 #B5B3F9 #E4E3FD

Accessibility & contrast

On white

3.51
#7E7AF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#7E7AF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7AF4
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7AF4#FFFFFF#000000##000000
##7E7AF41.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#408DF8
Deuteranopia (green-blind)
#3784F1
Tritanopia (blue-blind)
#5294AC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7e7af4;
/* rgb */ color: rgb(126, 122, 244);
/* oklch */ color: oklch(64.2% 0.177 281.6);
Tailwind
colors: {
  custom: {
    50: '#aaa0f8',
    500: '#7e7af4',
    950: '#000000',
  },
}
SCSS
$custom: #7e7af4;
$custom-light: #aaa0f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7af4",
  "rgb": {
    "r": 126,
    "g": 122,
    "b": 244
  },
  "hsl": {
    "h": 241.967,
    "s": 84.722,
    "l": 71.765
  },
  "oklch": {
    "l": 0.64207,
    "c": 0.17735,
    "h": 281.6
  },
  "luminance": 0.24886
}

Semantic roles & 50–950 ramp

primary
#7E7AF4
secondary
#F3F4D5
accent
#E104DA
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #7E7AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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