#7E82EA#7E82EA

#7E82EA is a light, vivid blue. Relative luminance 0.263; OKLCH L 65.1% C 0.153 H 279.6°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7E82EA
RGBrgb(126, 130, 234)
HSLhsl(238, 72%, 71%)
HSVhsv(238, 46%, 92%)
CMYKcmyk(46.2%, 44.4%, 0%, 8.2%)
CIE-LABlab(58.36, 25.26, -53.20)
CIE-LCHlch(58.36, 58.90, 295.40°)
OKLaboklab(65.08% 0.0255 -0.1508)
OKLCHoklch(65.08% 0.153 279.6)
XYZxyz(31.4336, 26.3398, 81.2537)
Luminance0.2634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E82EA #EAE67E
analogous
#7EB8EA #7E82EA #B07EEA
triadic
#7E82EA #EA7E82 #82EA7E
tetradic
#7E82EA #EA7EB8 #EAE67E #7EEAB0
square
#7E82EA #EA7EB8 #EAE67E #7EEAB0
split-complementary
#7E82EA #EAB07E #B8EA7E
monochromatic
#2128CC #494FE1 #7E82EA #B3B5F3 #E5E5FB

Accessibility & contrast

On white

3.35
#7E82EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#7E82EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E82EA
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E82EA#FFFFFF#000000##000000
##7E82EA1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891EE
Deuteranopia (green-blind)
#5088E8
Tritanopia (blue-blind)
#5898AB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e82ea;
/* rgb */ color: rgb(126, 130, 234);
/* oklch */ color: oklch(65.1% 0.153 279.6);
Tailwind
colors: {
  custom: {
    50: '#a9a6f1',
    500: '#7e82ea',
    950: '#000000',
  },
}
SCSS
$custom: #7e82ea;
$custom-light: #a9a6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e82ea",
  "rgb": {
    "r": 126,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 237.778,
    "s": 72,
    "l": 70.588
  },
  "oklch": {
    "l": 0.65078,
    "c": 0.15294,
    "h": 279.6
  },
  "luminance": 0.26341
}

Semantic roles & 50–950 ramp

primary
#7E82EA
secondary
#F1EFD3
accent
#CD11D4
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7E82EA

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

Preview Lab → · Contrast checker → · Palette generator →

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