#7E8CE2#7E8CE2

#7E8CE2 is a light, vivid blue. Relative luminance 0.287; OKLCH L 66.6% C 0.128 H 275.3°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7E8CE2
RGBrgb(126, 140, 226)
HSLhsl(232, 63%, 69%)
HSVhsv(232, 44%, 89%)
CMYKcmyk(44.2%, 38.1%, 0%, 11.4%)
CIE-LABlab(60.50, 17.03, -45.36)
CIE-LCHlch(60.50, 48.45, 290.57°)
OKLaboklab(66.58% 0.012 -0.1278)
OKLCHoklch(66.58% 0.128 275.3)
XYZxyz(31.7055, 28.6811, 75.8021)
Luminance0.2868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8CE2 #E2D47E
analogous
#7EBEE2 #7E8CE2 #A27EE2
triadic
#7E8CE2 #E27E8C #8CE27E
tetradic
#7E8CE2 #E27EBE #E2D47E #7EE2A2
square
#7E8CE2 #E27EBE #E2D47E #7EE2A2
split-complementary
#7E8CE2 #E2A27E #BEE27E
monochromatic
#2A3EBB #4C5FD7 #7E8CE2 #B0B9ED #E2E5F8

Accessibility & contrast

On white

3.12
#7E8CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#7E8CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8CE2
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8CE2#FFFFFF#000000##000000
##7E8CE21.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D96E5
Deuteranopia (green-blind)
#658EE0
Tritanopia (blue-blind)
#5C9EAC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7e8ce2;
/* rgb */ color: rgb(126, 140, 226);
/* oklch */ color: oklch(66.6% 0.128 275.3);
Tailwind
colors: {
  custom: {
    50: '#a8adeb',
    500: '#7e8ce2',
    950: '#000000',
  },
}
SCSS
$custom: #7e8ce2;
$custom-light: #a8adeb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8ce2",
  "rgb": {
    "r": 126,
    "g": 140,
    "b": 226
  },
  "hsl": {
    "h": 231.6,
    "s": 63.291,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66579,
    "c": 0.1284,
    "h": 275.3
  },
  "luminance": 0.28683
}

Semantic roles & 50–950 ramp

primary
#7E8CE2
secondary
#EDE8CF
accent
#B21ACB
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #7E8CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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