#7E86EC#7E86EC

#7E86EC is a light, vivid blue. Relative luminance 0.275; OKLCH L 66.0% C 0.150 H 278.0°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7E86EC
RGBrgb(126, 134, 236)
HSLhsl(236, 74%, 71%)
HSVhsv(236, 47%, 93%)
CMYKcmyk(46.6%, 43.2%, 0%, 7.5%)
CIE-LABlab(59.47, 23.49, -52.54)
CIE-LCHlch(59.47, 57.55, 294.08°)
OKLaboklab(65.96% 0.021 -0.1488)
OKLCHoklch(65.96% 0.15 278)
XYZxyz(32.2650, 27.5402, 82.9563)
Luminance0.2754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E86EC #ECE47E
analogous
#7EBDEC #7E86EC #AD7EEC
triadic
#7E86EC #EC7E86 #86EC7E
tetradic
#7E86EC #EC7EBD #ECE47E #7EECAD
square
#7E86EC #EC7EBD #ECE47E #7EECAD
split-complementary
#7E86EC #ECAD7E #BDEC7E
monochromatic
#1F2CD1 #4954E4 #7E86EC #B3B8F4 #E4E6FB

Accessibility & contrast

On white

3.23
#7E86EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#7E86EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E86EC
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E86EC#FFFFFF#000000##000000
##7E86EC1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E94F0
Deuteranopia (green-blind)
#558BEA
Tritanopia (blue-blind)
#569BAE
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e86ec;
/* rgb */ color: rgb(126, 134, 236);
/* oklch */ color: oklch(66.0% 0.150 278.0);
Tailwind
colors: {
  custom: {
    50: '#a9a9f2',
    500: '#7e86ec',
    950: '#000000',
  },
}
SCSS
$custom: #7e86ec;
$custom-light: #a9a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e86ec",
  "rgb": {
    "r": 126,
    "g": 134,
    "b": 236
  },
  "hsl": {
    "h": 235.636,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.65959,
    "c": 0.15033,
    "h": 278
  },
  "luminance": 0.27542
}

Semantic roles & 50–950 ramp

primary
#7E86EC
secondary
#F2EFD4
accent
#C80FD6
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7E86EC

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

Preview Lab → · Contrast checker → · Palette generator →

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