#7E7EF2#7E7EF2

#7E7EF2 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.8% C 0.169 H 280.6°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#7E7EF2
RGBrgb(126, 126, 242)
HSLhsl(240, 82%, 72%)
HSVhsv(240, 48%, 95%)
CMYKcmyk(47.9%, 47.9%, 0%, 5.1%)
CIE-LABlab(57.81, 29.98, -58.51)
CIE-LCHlch(57.81, 65.75, 297.13°)
OKLaboklab(64.81% 0.0311 -0.1664)
OKLCHoklch(64.81% 0.169 280.6)
XYZxyz(32.0872, 25.7664, 87.2699)
Luminance0.2577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7EF2 #F2F27E
analogous
#7EB8F2 #7E7EF2 #B87EF2
triadic
#7E7EF2 #F27E7E #7EF27E
tetradic
#7E7EF2 #F27EB8 #F2F27E #7EF2B8
square
#7E7EF2 #F27EB8 #F2F27E #7EF2B8
split-complementary
#7E7EF2 #F2B87E #B8F27E
monochromatic
#1616DF #4646EC #7E7EF2 #B6B6F8 #E3E3FC

Accessibility & contrast

On white

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

On black

6.15
#7E7EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7EF2
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7EF2#FFFFFF#000000##000000
##7E7EF21.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8FF6
Deuteranopia (green-blind)
#4287EF
Tritanopia (blue-blind)
#5397AC
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7e7ef2;
/* rgb */ color: rgb(126, 126, 242);
/* oklch */ color: oklch(64.8% 0.169 280.6);
Tailwind
colors: {
  custom: {
    50: '#aaa3f7',
    500: '#7e7ef2',
    950: '#000000',
  },
}
SCSS
$custom: #7e7ef2;
$custom-light: #aaa3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7ef2",
  "rgb": {
    "r": 126,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 240,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.64811,
    "c": 0.16928,
    "h": 280.6
  },
  "luminance": 0.25768
}

Semantic roles & 50–950 ramp

primary
#7E7EF2
secondary
#F4F4D7
accent
#DE07DE
background
#FAFAFF
surface
#F5F3FF
border
#CFCDD7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7E7EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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