#7E8CF2#7E8CF2

#7E8CF2 is a light, vivid blue. Relative luminance 0.296; OKLCH L 67.5% C 0.151 H 275.7°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#7E8CF2
RGBrgb(126, 140, 242)
HSLhsl(233, 82%, 72%)
HSVhsv(233, 48%, 95%)
CMYKcmyk(47.9%, 42.1%, 0%, 5.1%)
CIE-LABlab(61.31, 21.73, -52.94)
CIE-LCHlch(61.31, 57.23, 292.31°)
OKLaboklab(67.46% 0.015 -0.15)
OKLCHoklch(67.46% 0.151 275.7)
XYZxyz(34.0043, 29.6006, 87.9089)
Luminance0.2960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8CF2 #F2E47E
analogous
#7EC6F2 #7E8CF2 #AA7EF2
triadic
#7E8CF2 #F27E8C #8CF27E
tetradic
#7E8CF2 #F27EC6 #F2E47E #7EF2AA
square
#7E8CF2 #F27EC6 #F2E47E #7EF2AA
split-complementary
#7E8CF2 #F2AA7E #C6F27E
monochromatic
#162FDF #465AEC #7E8CF2 #B6BEF8 #E3E6FC

Accessibility & contrast

On white

3.03
#7E8CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#7E8CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8CF2
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8CF2#FFFFFF#000000##000000
##7E8CF21.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6399F6
Deuteranopia (green-blind)
#5990F0
Tritanopia (blue-blind)
#51A1B3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7e8cf2;
/* rgb */ color: rgb(126, 140, 242);
/* oklch */ color: oklch(67.5% 0.151 275.7);
Tailwind
colors: {
  custom: {
    50: '#a9adf7',
    500: '#7e8cf2',
    950: '#000000',
  },
}
SCSS
$custom: #7e8cf2;
$custom-light: #a9adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8cf2",
  "rgb": {
    "r": 126,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 232.759,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67463,
    "c": 0.15072,
    "h": 275.7
  },
  "luminance": 0.29603
}

Semantic roles & 50–950 ramp

primary
#7E8CF2
secondary
#F4F1D7
accent
#C407DE
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E8CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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