#7E7AEF#7E7AEF

#7E7AEF is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.9% C 0.171 H 282.0°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#7E7AEF
RGBrgb(126, 122, 239)
HSLhsl(242, 79%, 71%)
HSVhsv(242, 49%, 94%)
CMYKcmyk(47.3%, 49%, 0%, 6.3%)
CIE-LABlab(56.67, 31.46, -58.68)
CIE-LCHlch(56.67, 66.58, 298.20°)
OKLaboklab(63.89% 0.0354 -0.1669)
OKLCHoklch(63.89% 0.171 282)
XYZxyz(31.1390, 24.5851, 84.7492)
Luminance0.2459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7AEF #EBEF7A
analogous
#7AB0EF #7E7AEF #B87AEF
triadic
#7E7AEF #EF7E7A #7AEF7E
tetradic
#7E7AEF #EF7AB0 #EBEF7A #7AEFB8
square
#7E7AEF #EF7AB0 #EBEF7A #7AEFB8
split-complementary
#7E7AEF #EFB87A #B0EF7A
monochromatic
#201AD5 #4943E8 #7E7AEF #B3B1F6 #E5E4FC

Accessibility & contrast

On white

3.55
#7E7AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#7E7AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7AEF
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7AEF#FFFFFF#000000##000000
##7E7AEF1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#458CF3
Deuteranopia (green-blind)
#3D84EC
Tritanopia (blue-blind)
#5693A9
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7e7aef;
/* rgb */ color: rgb(126, 122, 239);
/* oklch */ color: oklch(63.9% 0.171 282.0);
Tailwind
colors: {
  custom: {
    50: '#aaa0f5',
    500: '#7e7aef',
    950: '#000000',
  },
}
SCSS
$custom: #7e7aef;
$custom-light: #aaa0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7aef",
  "rgb": {
    "r": 126,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 242.051,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.63892,
    "c": 0.17064,
    "h": 282
  },
  "luminance": 0.24587
}

Semantic roles & 50–950 ramp

primary
#7E7AEF
secondary
#F1F2D3
accent
#DB0BD4
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7E7AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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