#7E7EE3#7E7EE3

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

Color values

HEX#7E7EE3
RGBrgb(126, 126, 227)
HSLhsl(240, 64%, 69%)
HSVhsv(240, 44%, 89%)
CMYKcmyk(44.5%, 44.5%, 0%, 11%)
CIE-LABlab(56.98, 25.58, -51.50)
CIE-LCHlch(56.98, 57.50, 296.42°)
OKLaboklab(63.91% 0.0293 -0.1458)
OKLCHoklch(63.91% 0.149 281.3)
XYZxyz(29.9260, 24.9020, 75.8879)
Luminance0.2490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7EE3 #E3E37E
analogous
#7EB1E3 #7E7EE3 #B17EE3
triadic
#7E7EE3 #E37E7E #7EE37E
tetradic
#7E7EE3 #E37EB1 #E3E37E #7EE3B1
square
#7E7EE3 #E37EB1 #E3E37E #7EE3B1
split-complementary
#7E7EE3 #E3B17E #B1E37E
monochromatic
#2929BD #4C4CD8 #7E7EE3 #B0B0EE #E3E3F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E7EE3#FFFFFF#000000##000000
##7E7EE31.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)
#568CE7
Deuteranopia (green-blind)
#5085E1
Tritanopia (blue-blind)
#5D93A5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7e7ee3;
/* rgb */ color: rgb(126, 126, 227);
/* oklch */ color: oklch(63.9% 0.149 281.3);
Tailwind
colors: {
  custom: {
    50: '#a8a3ec',
    500: '#7e7ee3',
    950: '#000000',
  },
}
SCSS
$custom: #7e7ee3;
$custom-light: #a8a3ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7ee3",
  "rgb": {
    "r": 126,
    "g": 126,
    "b": 227
  },
  "hsl": {
    "h": 240,
    "s": 64.331,
    "l": 69.216
  },
  "oklch": {
    "l": 0.63909,
    "c": 0.14873,
    "h": 281.3
  },
  "luminance": 0.24903
}

Semantic roles & 50–950 ramp

primary
#7E7EE3
secondary
#EDEDD0
accent
#CC19CC
background
#FAFAFE
surface
#F4F3FD
border
#CECDD5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #7E7EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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