#7E7AF7#7E7AF7

#7E7AF7 is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.4% C 0.181 H 281.5°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7E7AF7
RGBrgb(126, 122, 247)
HSLhsl(242, 89%, 72%)
HSVhsv(242, 51%, 97%)
CMYKcmyk(49%, 50.6%, 0%, 3.1%)
CIE-LABlab(57.14, 33.82, -62.36)
CIE-LCHlch(57.14, 70.94, 298.47°)
OKLaboklab(64.4% 0.036 -0.1777)
OKLCHoklch(64.4% 0.181 281.5)
XYZxyz(32.3471, 25.0684, 91.1119)
Luminance0.2507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7AF7 #F3F77A
analogous
#7AB5F7 #7E7AF7 #BD7AF7
triadic
#7E7AF7 #F77E7A #7AF77E
tetradic
#7E7AF7 #F77AB5 #F3F77A #7AF7BD
square
#7E7AF7 #F77AB5 #F3F77A #7AF7BD
split-complementary
#7E7AF7 #F7BD7A #B5F77A
monochromatic
#150EE9 #4640F4 #7E7AF7 #B6B4FA #E3E2FD

Accessibility & contrast

On white

3.49
#7E7AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#7E7AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7AF7
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7AF7#FFFFFF#000000##000000
##7E7AF71.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8EFB
Deuteranopia (green-blind)
#3285F4
Tritanopia (blue-blind)
#5095AD
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7e7af7;
/* rgb */ color: rgb(126, 122, 247);
/* oklch */ color: oklch(64.4% 0.181 281.5);
Tailwind
colors: {
  custom: {
    50: '#aba0fa',
    500: '#7e7af7',
    950: '#000000',
  },
}
SCSS
$custom: #7e7af7;
$custom-light: #aba0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7af7",
  "rgb": {
    "r": 126,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 241.92,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.64399,
    "c": 0.18135,
    "h": 281.5
  },
  "luminance": 0.2507
}

Semantic roles & 50–950 ramp

primary
#7E7AF7
secondary
#F4F5D6
accent
#E500DE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #7E7AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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