#7E8EF2#7E8EF2

#7E8EF2 is a light, vivid blue. Relative luminance 0.302; OKLCH L 67.9% C 0.148 H 274.9°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7E8EF2
RGBrgb(126, 142, 242)
HSLhsl(232, 82%, 72%)
HSVhsv(232, 48%, 95%)
CMYKcmyk(47.9%, 41.3%, 0%, 5.1%)
CIE-LABlab(61.82, 20.55, -52.13)
CIE-LCHlch(61.82, 56.04, 291.51°)
OKLaboklab(67.85% 0.0126 -0.1476)
OKLCHoklch(67.85% 0.148 274.9)
XYZxyz(34.2992, 30.1904, 88.0072)
Luminance0.3019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8EF2 #F2E27E
analogous
#7EC8F2 #7E8EF2 #A87EF2
triadic
#7E8EF2 #F27E8E #8EF27E
tetradic
#7E8EF2 #F27EC8 #F2E27E #7EF2A8
square
#7E8EF2 #F27EC8 #F2E27E #7EF2A8
split-complementary
#7E8EF2 #F2A87E #C8F27E
monochromatic
#1632DF #465DEC #7E8EF2 #B6BFF8 #E3E7FC

Accessibility & contrast

On white

2.98
#7E8EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#7E8EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E8EF2
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8EF2#FFFFFF#000000##000000
##7E8EF21.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#679AF6
Deuteranopia (green-blind)
#5C91F0
Tritanopia (blue-blind)
#51A3B4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7e8ef2;
/* rgb */ color: rgb(126, 142, 242);
/* oklch */ color: oklch(67.9% 0.148 274.9);
Tailwind
colors: {
  custom: {
    50: '#a9aef7',
    500: '#7e8ef2',
    950: '#000000',
  },
}
SCSS
$custom: #7e8ef2;
$custom-light: #a9aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8ef2",
  "rgb": {
    "r": 126,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 231.724,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67852,
    "c": 0.14814,
    "h": 274.9
  },
  "luminance": 0.30192
}

Semantic roles & 50–950 ramp

primary
#7E8EF2
secondary
#F4F0D7
accent
#C007DE
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E8EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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