#7E8DEC#7E8DEC

#7E8DEC is a light, vivid blue. Relative luminance 0.295; OKLCH L 67.3% C 0.141 H 275.2°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#7E8DEC
RGBrgb(126, 141, 236)
HSLhsl(232, 74%, 71%)
HSVhsv(232, 47%, 93%)
CMYKcmyk(46.6%, 40.3%, 0%, 7.5%)
CIE-LABlab(61.26, 19.36, -49.71)
CIE-LCHlch(61.26, 53.35, 291.28°)
OKLaboklab(67.32% 0.0127 -0.1405)
OKLCHoklch(67.32% 0.141 275.2)
XYZxyz(33.2647, 29.5397, 83.2895)
Luminance0.2954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8DEC #ECDD7E
analogous
#7EC4EC #7E8DEC #A67EEC
triadic
#7E8DEC #EC7E8D #8DEC7E
tetradic
#7E8DEC #EC7EC4 #ECDD7E #7EECA6
square
#7E8DEC #EC7EC4 #ECDD7E #7EECA6
split-complementary
#7E8DEC #ECA67E #C4EC7E
monochromatic
#1F37D1 #495EE4 #7E8DEC #B3BCF4 #E4E7FB

Accessibility & contrast

On white

3.04
#7E8DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#7E8DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8DEC
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8DEC#FFFFFF#000000##000000
##7E8DEC1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F0
Deuteranopia (green-blind)
#5F90EA
Tritanopia (blue-blind)
#55A1B1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7e8dec;
/* rgb */ color: rgb(126, 141, 236);
/* oklch */ color: oklch(67.3% 0.141 275.2);
Tailwind
colors: {
  custom: {
    50: '#a9aef2',
    500: '#7e8dec',
    950: '#000000',
  },
}
SCSS
$custom: #7e8dec;
$custom-light: #a9aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8dec",
  "rgb": {
    "r": 126,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 231.818,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67321,
    "c": 0.14111,
    "h": 275.2
  },
  "luminance": 0.29542
}

Semantic roles & 50–950 ramp

primary
#7E8DEC
secondary
#F2EED4
accent
#BB0FD6
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E8DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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