#7E8CED#7E8CED

#7E8CED is a light, vivid blue. Relative luminance 0.293; OKLCH L 67.2% C 0.144 H 275.6°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7E8CED
RGBrgb(126, 140, 237)
HSLhsl(232, 76%, 71%)
HSVhsv(232, 47%, 93%)
CMYKcmyk(46.8%, 40.9%, 0%, 7.1%)
CIE-LABlab(61.05, 20.25, -50.59)
CIE-LCHlch(61.05, 54.49, 291.81°)
OKLaboklab(67.18% 0.0141 -0.1431)
OKLCHoklch(67.18% 0.144 275.6)
XYZxyz(33.2636, 29.3044, 84.0079)
Luminance0.2931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8CED #EDDF7E
analogous
#7EC3ED #7E8CED #A77EED
triadic
#7E8CED #ED7E8C #8CED7E
tetradic
#7E8CED #ED7EC3 #EDDF7E #7EEDA7
square
#7E8CED #ED7EC3 #EDDF7E #7EEDA7
split-complementary
#7E8CED #EDA77E #C3ED7E
monochromatic
#1D34D3 #485CE6 #7E8CED #B4BCF4 #E4E7FB

Accessibility & contrast

On white

3.06
#7E8CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#7E8CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8CED
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8CED#FFFFFF#000000##000000
##7E8CED1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6798F1
Deuteranopia (green-blind)
#5D8FEB
Tritanopia (blue-blind)
#55A0B1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7e8ced;
/* rgb */ color: rgb(126, 140, 237);
/* oklch */ color: oklch(67.2% 0.144 275.6);
Tailwind
colors: {
  custom: {
    50: '#a9adf3',
    500: '#7e8ced',
    950: '#000000',
  },
}
SCSS
$custom: #7e8ced;
$custom-light: #a9adf3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8ced",
  "rgb": {
    "r": 126,
    "g": 140,
    "b": 237
  },
  "hsl": {
    "h": 232.432,
    "s": 75.51,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67181,
    "c": 0.14379,
    "h": 275.6
  },
  "luminance": 0.29306
}

Semantic roles & 50–950 ramp

primary
#7E8CED
secondary
#F2EED5
accent
#BE0ED8
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E8CED

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

Preview Lab → · Contrast checker → · Palette generator →

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