#7E8CD6#7E8CD6

#7E8CD6 is a light, moderate blue. Relative luminance 0.280; OKLCH L 66.0% C 0.111 H 274.8°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7E8CD6
RGBrgb(126, 140, 214)
HSLhsl(230, 52%, 67%)
HSVhsv(230, 41%, 84%)
CMYKcmyk(41.1%, 34.6%, 0%, 16.1%)
CIE-LABlab(59.93, 13.59, -39.56)
CIE-LCHlch(59.93, 41.83, 288.96°)
OKLaboklab(65.95% 0.0093 -0.111)
OKLCHoklch(65.95% 0.111 274.8)
XYZxyz(30.1162, 28.0454, 67.4317)
Luminance0.2805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8CD6 #D6C87E
analogous
#7EB8D6 #7E8CD6 #9C7ED6
triadic
#7E8CD6 #D67E8C #8CD67E
tetradic
#7E8CD6 #D67EB8 #D6C87E #7ED69C
square
#7E8CD6 #D67EB8 #D6C87E #7ED69C
split-complementary
#7E8CD6 #D69C7E #B8D67E
monochromatic
#3446A5 #5063C7 #7E8CD6 #ACB5E5 #DBDFF4

Accessibility & contrast

On white

3.18
#7E8CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#7E8CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8CD6
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8CD6#FFFFFF#000000##000000
##7E8CD61.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7394D9
Deuteranopia (green-blind)
#6C8DD4
Tritanopia (blue-blind)
#629BA7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7e8cd6;
/* rgb */ color: rgb(126, 140, 214);
/* oklch */ color: oklch(66.0% 0.111 274.8);
Tailwind
colors: {
  custom: {
    50: '#a7ade3',
    500: '#7e8cd6',
    950: '#000000',
  },
}
SCSS
$custom: #7e8cd6;
$custom-light: #a7ade3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8cd6",
  "rgb": {
    "r": 126,
    "g": 140,
    "b": 214
  },
  "hsl": {
    "h": 230.455,
    "s": 51.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65954,
    "c": 0.11137,
    "h": 274.8
  },
  "luminance": 0.28047
}

Semantic roles & 50–950 ramp

primary
#7E8CD6
secondary
#E6E2CA
accent
#A726BF
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #7E8CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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