#7E7EE4#7E7EE4

#7E7EE4 is a light, vivid blue. Relative luminance 0.250; OKLCH L 64.0% C 0.150 H 281.3°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#7E7EE4
RGBrgb(126, 126, 228)
HSLhsl(240, 65%, 69%)
HSVhsv(240, 45%, 89%)
CMYKcmyk(44.7%, 44.7%, 0%, 10.6%)
CIE-LABlab(57.03, 25.88, -51.97)
CIE-LCHlch(57.03, 58.05, 296.47°)
OKLaboklab(63.97% 0.0294 -0.1472)
OKLCHoklch(63.97% 0.15 281.3)
XYZxyz(30.0645, 24.9573, 76.6169)
Luminance0.2496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7EE4 #E4E47E
analogous
#7EB1E4 #7E7EE4 #B17EE4
triadic
#7E7EE4 #E47E7E #7EE47E
tetradic
#7E7EE4 #E47EB1 #E4E47E #7EE4B1
square
#7E7EE4 #E47EB1 #E4E47E #7EE4B1
split-complementary
#7E7EE4 #E4B17E #B1E47E
monochromatic
#2828C0 #4B4BD9 #7E7EE4 #B1B1EF #E3E3F9

Accessibility & contrast

On white

3.50
#7E7EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#7E7EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7EE4
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7EE4#FFFFFF#000000##000000
##7E7EE41.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#568DE8
Deuteranopia (green-blind)
#5085E2
Tritanopia (blue-blind)
#5C93A6
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7e7ee4;
/* rgb */ color: rgb(126, 126, 228);
/* oklch */ color: oklch(64.0% 0.150 281.3);
Tailwind
colors: {
  custom: {
    50: '#a8a3ed',
    500: '#7e7ee4',
    950: '#000000',
  },
}
SCSS
$custom: #7e7ee4;
$custom-light: #a8a3ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7ee4",
  "rgb": {
    "r": 126,
    "g": 126,
    "b": 228
  },
  "hsl": {
    "h": 240,
    "s": 65.385,
    "l": 69.412
  },
  "oklch": {
    "l": 0.63967,
    "c": 0.15012,
    "h": 281.3
  },
  "luminance": 0.24959
}

Semantic roles & 50–950 ramp

primary
#7E7EE4
secondary
#EEEED0
accent
#CD18CD
background
#FAFAFE
surface
#F4F3FD
border
#CECDD5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #7E7EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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